]> git.sesse.net Git - stockfish/commitdiff
Increase MAX_PLY from 100 to 120
authorMarco Costalba <mcostalba@gmail.com>
Sun, 16 Feb 2014 11:20:37 +0000 (12:20 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 16 Feb 2014 11:20:37 +0000 (12:20 +0100)
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

src/types.h

index 7a8d0b019f19830b8c7ddfc05c66e6cdb1ace611..03053591f05c5426392b5c494562fde2409a28bd 100644 (file)
@@ -89,7 +89,7 @@ typedef uint64_t Key;
 typedef uint64_t Bitboard;
 
 const int MAX_MOVES      = 256;
 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
 const int MAX_PLY_PLUS_6 = MAX_PLY + 6;
 
 /// A move needs 16 bits to be stored