From d86414859519717c237570dbdea65de233a8d4f0 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sat, 9 Aug 2025 12:29:40 +0300 Subject: [PATCH] Simplify beta formula Passed STC: LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 152384 W: 39907 L: 39814 D: 72663 Ptnml(0-2): 557, 17958, 39053, 18083, 541 https://tests.stockfishchess.org/tests/view/6890b66692fcad741b804a10 Passed LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 98688 W: 25411 L: 25270 D: 48007 Ptnml(0-2): 45, 10692, 27743, 10805, 59 https://tests.stockfishchess.org/tests/view/6896019c618946ab878347b0 closes: https://github.com/official-stockfish/Stockfish/pull/6220 bench: 3002300 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index b4b85ee76..c81012625 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -369,7 +369,7 @@ void Search::Worker::iterative_deepening() { // otherwise exit the loop. if (bestValue <= alpha) { - beta = (3 * alpha + beta) / 4; + beta = alpha; alpha = std::max(bestValue - delta, -VALUE_INFINITE); failedHighCnt = 0;