Simplify RFP return value

Passed non-regression STC:
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 220800 W: 57351 L: 57332 D: 106117
Ptnml(0-2): 726, 26200, 56548, 26181, 745
https://tests.stockfishchess.org/tests/view/68b1db6e6217b8721dca9c67

Passed gainer LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 257820 W: 66286 L: 65523 D: 126011
Ptnml(0-2): 118, 27586, 72779, 28269, 158
https://tests.stockfishchess.org/tests/view/68c1d40859efc3c96b610e3d

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

bench: 2364596
This commit is contained in:
Nonlinear2
2025-09-28 20:53:47 +02:00
committed by Joost VandeVondele
parent bbad001a49
commit 6fa42d9724
+1 -1
View File
@@ -856,7 +856,7 @@ Value Search::Worker::search(
if (!ss->ttPv && depth < 14 && eval - futility_margin(depth) >= beta && eval >= beta
&& (!ttData.move || ttCapture) && !is_loss(beta) && !is_win(eval))
return beta + (eval - beta) / 3;
return (2 * beta + eval) / 3;
}
// Step 9. Null move search with verification search