Skip to content

Commit

Permalink
Bench: 16641667
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Sep 9, 2023
1 parent 0829854 commit 91a05ed
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 @@ -310,7 +310,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
if (cutnode && depth >= 7 && !ttMove)
depth--;

if (ttHit && ttScore <= alpha && ttBound != BOUND_LOWER && ttDepth >= depth)
if (ttHit && depth >= 4 && ttScore <= alpha && ttBound != BOUND_LOWER && ttDepth > depth - 3)
depth--;

// Skip pruning in check, pv nodes, early iterations, when proving singularity, looking for terminal scores, or after a null move
Expand Down

0 comments on commit 91a05ed

Please sign in to comment.