Skip to content

Commit

Permalink
Bench: 21825554
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Dec 10, 2023
1 parent 20c95ce commit 4766222
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,10 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
if (!pvNode && ttHit && ttDepth >= depth && TTScoreIsMoreInformative(ttBound, ttScore, beta)) {

// Give a history bonus to quiet tt moves that causes a cutoff
if (ttScore >= beta && moveIsQuiet(ttMove))
if (ttScore >= beta && moveIsQuiet(ttMove)) {
QuietHistoryUpdate(ttMove, Bonus(depth));
PawnHistoryUpdate(ttMove, Bonus(depth));
}

return ttScore;
}
Expand Down

0 comments on commit 4766222

Please sign in to comment.