Skip to content

Commit

Permalink
Bench: 21508960
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Sep 17, 2023
1 parent e4a3b24 commit 5bc421d
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 @@ -311,7 +311,7 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
depth--;

// Skip pruning in check, pv nodes, early iterations, when proving singularity, looking for terminal scores, or after a null move
if (inCheck || pvNode || !thread->doPruning || ss->excluded || abs(beta) >= TBWIN_IN_MAX || history(-1).move == NOMOVE || (ttMove && GetHistory(thread, ss, ttMove) < 0))
if (inCheck || pvNode || !thread->doPruning || ss->excluded || abs(beta) >= TBWIN_IN_MAX || history(-1).move == NOMOVE || (ttMove && GetHistory(thread, ss, ttMove) < -10000))
goto move_loop;

// Reverse Futility Pruning
Expand Down

0 comments on commit 5bc421d

Please sign in to comment.