Skip to content

Commit

Permalink
Update types.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dpldgr committed Nov 8, 2024
1 parent 60608bd commit ed2f791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ constexpr int SQUARE_BITS = 6;
#endif

//When defined, move list will be stored in heap. Delete this if you want to use stack to store move list. Using stack can cause overflow (Segmentation Fault) when the search is too deep.
//#define USE_HEAP_INSTEAD_OF_STACK_FOR_MOVE_LIST
#define USE_HEAP_INSTEAD_OF_STACK_FOR_MOVE_LIST

#ifdef ALLVARS
constexpr int MAX_MOVES = 1024;
constexpr int MAX_MOVES = 8*1024;
#ifdef USE_HEAP_INSTEAD_OF_STACK_FOR_MOVE_LIST
constexpr int MAX_PLY = 246;
#else
Expand Down

0 comments on commit ed2f791

Please sign in to comment.