Skip to content

Commit

Permalink
Bench: 20424710
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Nov 15, 2024
1 parent b5988e3 commit 2306163
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
continue;

// SEE pruning
if (lmrDepth < 7 && !SEE(pos, move, quiet ? -48 * depth : -66 * depth))
int seeThreshold = (quiet ? -48 : -66) * depth - CLAMP(ss->histScore, -128 * depth, 128 * depth);
if (lmrDepth < 7 && !SEE(pos, move, seeThreshold))
continue;
}

Expand Down

0 comments on commit 2306163

Please sign in to comment.