mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Remove non-functional low-ply history fill
lowPlyHistory is always cleared at the start of `iterative_deepening`, so clearing it here is non-functional. closes https://github.com/official-stockfish/Stockfish/pull/6144 No functional change
This commit is contained in:
@@ -536,7 +536,6 @@ void Search::Worker::undo_null_move(Position& pos) { pos.undo_null_move(); }
|
||||
// Reset histories, usually before a new game
|
||||
void Search::Worker::clear() {
|
||||
mainHistory.fill(67);
|
||||
lowPlyHistory.fill(107);
|
||||
captureHistory.fill(-688);
|
||||
pawnHistory.fill(-1287);
|
||||
pawnCorrectionHistory.fill(5);
|
||||
|
||||
Reference in New Issue
Block a user