mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
Simplify futility pruning formula
closes https://github.com/official-stockfish/Stockfish/pull/4848 No functional change
This commit is contained in:
@@ -775,7 +775,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
|
|||||||
- (ss - 1)->statScore / 321
|
- (ss - 1)->statScore / 321
|
||||||
>= beta
|
>= beta
|
||||||
&& eval >= beta && eval < 29462 // smaller than TB wins
|
&& eval >= beta && eval < 29462 // smaller than TB wins
|
||||||
&& !(!ttCapture && ttMove))
|
&& (!ttMove || ttCapture))
|
||||||
return eval;
|
return eval;
|
||||||
|
|
||||||
// Step 9. Null move search with verification search (~35 Elo)
|
// Step 9. Null move search with verification search (~35 Elo)
|
||||||
|
|||||||
Reference in New Issue
Block a user