Squash out post-lmr bonus variable

Squash out bonus variable for post-lmr now that the bonus is constant.

closes https://github.com/official-stockfish/Stockfish/pull/5953

No functional change
This commit is contained in:
Daniel Monroe
2025-03-29 15:34:48 -04:00
committed by Disservin
parent ed89817f62
commit 3d61f932cb

View File

@@ -1271,8 +1271,7 @@ moves_loop: // When in check, search starts here
value = -search<NonPV>(pos, ss + 1, -(alpha + 1), -alpha, newDepth, !cutNode);
// Post LMR continuation history updates
int bonus = 1600;
update_continuation_histories(ss, movedPiece, move.to_sq(), bonus);
update_continuation_histories(ss, movedPiece, move.to_sq(), 1600);
}
else if (value > alpha && value < bestValue + 9)
newDepth--;