Skip to content

Commit

Permalink
Bench: 28963785
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Dec 23, 2024
1 parent ef9a588 commit 5cc90ef
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 @@ -550,7 +550,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
// Reduce more in cut nodes
r += 2 * cutnode;
// Reduce less if the difference between static eval and eval is large
r -= abs(ss->staticEval - eval) > 128;
r -= abs(ss->staticEval - eval) > 256;

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

0 comments on commit 5cc90ef

Please sign in to comment.