mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Increase MAX_PLY from 100 to 120
Under some very rare case 100 plies of search could be not enough. Increasing more could lead to crashes due to reached stack size limit on some platforms. Strongly requested by Uri. bench: 8430785
This commit is contained in:
@@ -89,7 +89,7 @@ typedef uint64_t Key;
|
||||
typedef uint64_t Bitboard;
|
||||
|
||||
const int MAX_MOVES = 256;
|
||||
const int MAX_PLY = 100;
|
||||
const int MAX_PLY = 120;
|
||||
const int MAX_PLY_PLUS_6 = MAX_PLY + 6;
|
||||
|
||||
/// A move needs 16 bits to be stored
|
||||
|
||||
Reference in New Issue
Block a user