Skip to content

Commit

Permalink
Bench: 20701656
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Sep 10, 2023
1 parent 949d4e7 commit 28b0624
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
if (inCheck || pvNode || !thread->doPruning || ss->excluded || abs(beta) >= TBWIN_IN_MAX || history(-1).move == NOMOVE)
goto move_loop;

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

// Reverse Futility Pruning
if ( depth < 7
&& eval >= beta
Expand Down

0 comments on commit 28b0624

Please sign in to comment.