From 78d8f09bc8280e1f7343d0941d466fa5b6c9a559 Mon Sep 17 00:00:00 2001 From: "Robert Nurnberg @ elitebook" <28635489+robertnurnberg@users.noreply.github.com> Date: Tue, 19 May 2026 18:41:00 +0200 Subject: [PATCH] Revert f8aa78e0a7e8853370e5989fc23783f3b244ac42 The two links given in the PR description for #6826 are not for the same code changes. The code that was eventually committed passed LTC non-reg, but not STC non-reg. However, it was a meaningful code change and so would have needed gainer bounds. See https://tests.stockfishchess.org/tests/view/69fa69c83a3c3e525bb2b645 and https://tests.stockfishchess.org/tests/view/6a00a2549392f0c317214085. closes https://github.com/official-stockfish/Stockfish/pull/6831 Bench: 2259945 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 5988c23fd..f8debd545 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1274,7 +1274,7 @@ moves_loop: // When in check, search starts here // For first picked move (ttMove) reduce reduction else if (move == ttData.move) - r -= 2016 + 150 * cutNode; + r = std::max(-10, r - 2016 + 150 * cutNode); if (capture) ss->statScore = 809 * int(PieceValue[pos.captured_piece()]) / 128