1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Simplify futility pruning formula

closes https://github.com/official-stockfish/Stockfish/pull/4848

No functional change
This commit is contained in:
Taras Vuk 2023-10-25 16:00:58 +02:00 committed by Disservin
parent 0024133b08
commit 871ab55f01

View file

@ -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)