Skip to content

Commit

Permalink
Increase size of low-ply history for drop moves (fix official-stockfi…
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Jun 13, 2020
1 parent bd3e681 commit 8c1cc15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/movepick.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ typedef Stats<int16_t, 10692, COLOR_NB, int(SQUARE_NB) * int(SQUARE_NB)> Butterf
/// and quiet moves which are/were in the PV (ttPv)
/// It get cleared with each new search and get filled during iterative deepening
constexpr int MAX_LPH = 4;
#ifdef CRAZYHOUSE
typedef Stats<int16_t, 10692, MAX_LPH, int(SQUARE_NB + 1) * int(SQUARE_NB)> LowPlyHistory;
#else
typedef Stats<int16_t, 10692, MAX_LPH, int(SQUARE_NB) * int(SQUARE_NB)> LowPlyHistory;
#endif

/// CounterMoveHistory stores counter moves indexed by [piece][to] of the previous
/// move, see www.chessprogramming.org/Countermove_Heuristic
Expand Down

0 comments on commit 8c1cc15

Please sign in to comment.