Skip to content

Commit b742a3f

Browse files
committed
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 0049d3f of 8/4/2012 where stack was shrinked due to crashes while in deep analysys. No functional change.
1 parent 800410e commit b742a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const bool Is64Bit = false;
8888
typedef uint64_t Key;
8989
typedef uint64_t Bitboard;
9090

91-
const int MAX_MOVES = 192;
91+
const int MAX_MOVES = 256;
9292
const int MAX_PLY = 100;
9393
const int MAX_PLY_PLUS_6 = MAX_PLY + 6;
9494

0 commit comments

Comments
 (0)