Skip to content

Commit

Permalink
Simplify futility pruning formula
Browse files Browse the repository at this point in the history
closes #4848

No functional change
  • Loading branch information
TarasVuk authored and Disservin committed Oct 27, 2023
1 parent 0024133 commit 871ab55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -775,7 +775,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
- (ss - 1)->statScore / 321
>= beta
&& eval >= beta && eval < 29462 // smaller than TB wins
&& !(!ttCapture && ttMove))
&& (!ttMove || ttCapture))
return eval;

// Step 9. Null move search with verification search (~35 Elo)
Expand Down

0 comments on commit 871ab55

Please sign in to comment.