Skip to content

Commit

Permalink
Bench: 23735187
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Dec 15, 2023
1 parent 1eadc03 commit 425d8ca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,13 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth

// Give a history bonus to quiet tt moves that causes a cutoff
if (ttScore >= beta && moveIsQuiet(ttMove)) {

// Update killers
if (ss->killers[0] != ttMove) {
ss->killers[1] = ss->killers[0];
ss->killers[0] = ttMove;
}

QuietHistoryUpdate(ttMove, Bonus(depth));
PawnHistoryUpdate(ttMove, Bonus(depth));
}
Expand Down

0 comments on commit 425d8ca

Please sign in to comment.