From: Marco Costalba Date: Fri, 27 Sep 2013 06:50:29 +0000 (+0200) Subject: Increase MAX_MOVES to 256 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b742a3f29aac762616537eb032db4a2455df6b96 Increase MAX_MOVES to 256 This should be enough for any legal position, even the handcrafted ones, like the one presented by Reuven: 1Q5R/4Q1K1/B1Q5/B4Q2/N2Q4/pQ4Q1/pn2Q3/krQ4R w - - Where currently we crash. This reverts the patch 0049d3f337b6f3a66a06503c of 8/4/2012 where stack was shrinked due to crashes while in deep analysys. No functional change. --- diff --git a/src/types.h b/src/types.h index e08fc853..376c5577 100644 --- a/src/types.h +++ b/src/types.h @@ -88,7 +88,7 @@ const bool Is64Bit = false; typedef uint64_t Key; typedef uint64_t Bitboard; -const int MAX_MOVES = 192; +const int MAX_MOVES = 256; const int MAX_PLY = 100; const int MAX_PLY_PLUS_6 = MAX_PLY + 6;