bench 1617873

This commit is contained in:
rektdie committed 2026-03-14 00:52:14 +01:00
1 parent ce3ed3b6d1
commit 692ec62aac
1 file changed
+1 -1
+1 -1
View File
@@ -652,7 +652,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
// Fail high (beta cutoff) // Fail high (beta cutoff)
if (score >= beta) { if (score >= beta) {
int bonus = historyBonusMultiplier * depth - historyBonusSub; int bonus = historyBonusMultiplier * (depth + (!board.InCheck() && staticEval <= alpha)) - historyBonusSub;
if (!currMove.IsCapture()) { if (!currMove.IsCapture()) {
ctx->killerMoves[1][ply] = ctx->killerMoves[0][ply]; ctx->killerMoves[1][ply] = ctx->killerMoves[0][ply];