Skip to content

Commit

Permalink
Bench: 26784784
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Feb 19, 2025
1 parent 8f61e65 commit 295da0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
// Reduce more in cut nodes
r += 2 * cutnode;

r += cutnode && !ttMove;

// 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 295da0b

Please sign in to comment.