Skip to content

Commit

Permalink
Bench: 25224162
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Nov 14, 2024
1 parent 4602373 commit cab1555
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 @@ -328,7 +328,8 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
return eval;

// Null Move Pruning
if ( eval >= beta
if ( cutnode
&& eval >= beta
&& eval >= ss->staticEval
&& ss->staticEval >= beta + 168 - 23 * depth
&& (ss-1)->histScore < 26500
Expand Down

0 comments on commit cab1555

Please sign in to comment.