Skip to content

Commit

Permalink
Bench: 29598882
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Nov 22, 2023
1 parent da66464 commit 5ff5c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
score = -AlphaBeta(thread, ss+1, -alpha-1, -alpha, newDepth, !cutnode);

if (quiet && (score <= alpha || score >= beta)) {
int bonus = score >= beta ? Bonus(depth)
: -Bonus(depth);
int bonus = score >= beta ? Bonus(depth)
: Malus(depth);

UpdateContHistories(ss, move, bonus);
}
Expand Down

0 comments on commit 5ff5c07

Please sign in to comment.