From 52ebf872384f73c14c486e94f9ebd57c3a6c39cd Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 16 Feb 2014 12:20:37 +0100 Subject: [PATCH] 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 --- src/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2