Skip to content

Commit

Permalink
Bench: 30889139
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Dec 22, 2024
1 parent 7608ca3 commit 3e7d611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
r += 2 * cutnode;

// Depth after reductions, avoiding going straight to quiescence as well as extending
Depth lmrDepth = CLAMP(newDepth - r, 1, newDepth);
Depth lmrDepth = CLAMP(newDepth - r, 1, newDepth + 1);

score = -AlphaBeta(thread, ss+1, -alpha-1, -alpha, lmrDepth, true);

Expand Down

0 comments on commit 3e7d611

Please sign in to comment.