From 924d29d3cab85f45a877a5da0eeeb73a52cb4b62 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Fri, 10 Jul 2026 20:19:33 +0200 Subject: [PATCH] Simplify Reduction formula for first picked move (ttMove) Passed STC non-reg: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 124864 W: 32270 L: 32151 D: 60443 Ptnml(0-2): 273, 13766, 34278, 13799, 316 https://tests.stockfishchess.org/tests/view/6a44f4d9f97ff95f78795463 Passed LTC non-reg: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 335544 W: 87272 L: 87369 D: 160903 Ptnml(0-2): 157, 34355, 98852, 34244, 164 https://tests.stockfishchess.org/tests/view/6a46a188f97ff95f787956a1 closes https://github.com/official-stockfish/Stockfish/pull/6964 Bench: 2890786 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 710e61c94..3ccb4895a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1312,7 +1312,7 @@ moves_loop: // When in check, search starts here // For first picked move (ttMove) reduce reduction else if (move == ttData.move) - r = std::max(0, r - 2016); + r -= 2016; if (capture) ss->statScore = 809 * int(PieceValue[pos.captured_piece()]) / 128