From b742a3f29aac762616537eb032db4a2455df6b96 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Fri, 27 Sep 2013 08:50:29 +0200 Subject: [PATCH] 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. --- src/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2