From: Marco Costalba Date: Sun, 16 Feb 2014 11:20:37 +0000 (+0100) Subject: Increase MAX_PLY from 100 to 120 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=52ebf872384f73c14c486e94f9ebd57c3a6c39cd;hp=d91079d4b02b410702dda082d5c489847f067a35 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 --- diff --git a/src/types.h b/src/types.h index 7a8d0b01..03053591 100644 --- a/src/types.h +++ b/src/types.h @@ -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