From fe0dca12f1207a3a1ecca678d7d13bc533fd5332 Mon Sep 17 00:00:00 2001 From: Muzhen Gaming <61100393+XInTheDark@users.noreply.github.com> Date: Sun, 13 Aug 2023 22:02:17 +0800 Subject: [PATCH] Simplify PvNode Reduction Remove the depth condition for PvNode reduction. Simplification STC: https://tests.stockfishchess.org/tests/view/64d308fa5b17f7c21c0e0303 LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 38976 W: 10106 L: 9889 D: 18981 Ptnml(0-2): 129, 4479, 10040, 4726, 114 Simplification LTC: https://tests.stockfishchess.org/tests/view/64d457db5b17f7c21c0e236f LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 156402 W: 39727 L: 39645 D: 77030 Ptnml(0-2): 71, 17143, 43696, 17215, 76 closes https://github.com/official-stockfish/Stockfish/pull/4747 Bench: 1493904 --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 697c8cfe..c7e6fff0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1136,9 +1136,9 @@ moves_loop: // When in check, search starts here if (ttCapture) r++; - // Decrease reduction for PvNodes based on depth (~2 Elo) + // Decrease reduction for PvNodes (~2 Elo) if (PvNode) - r -= 1 + (depth < 6); + r--; // Decrease reduction if ttMove has been singularly extended (~1 Elo) if (singularQuietLMR) -- 2.39.2