From 6a6faac04db26daae6a77b6df6529e22d549531b Mon Sep 17 00:00:00 2001 From: VoyagerOne Date: Sun, 27 Nov 2022 12:00:16 -0500 Subject: [PATCH] Remove PvNode Parameter for cutoff LMR STC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 198520 W: 52673 L: 52632 D: 93215 Ptnml(0-2): 645, 22241, 53499, 22178, 697 https://tests.stockfishchess.org/tests/view/63746e8f9849fa7a36a6698f LTC: LLR: 2.97 (-2.94,2.94) <-1.75,0.25> Total: 253568 W: 67487 L: 67501 D: 118580 Ptnml(0-2): 109, 25222, 76141, 25198, 114 https://tests.stockfishchess.org/tests/view/63839859d2b9c924c4c4feb7 closes https://github.com/official-stockfish/Stockfish/pull/4248 Bench: 3733322 --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index b3f60f3d..abb51190 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1156,13 +1156,13 @@ moves_loop: // When in check, search starts here if (singularQuietLMR) r--; - // Dicrease reduction if we move a threatened piece (~1 Elo) + // Decrease reduction if we move a threatened piece (~1 Elo) if ( depth > 9 && (mp.threatenedPieces & from_sq(move))) r--; // Increase reduction if next ply has a lot of fail high - if ((ss+1)->cutoffCnt > 3 && !PvNode) + if ((ss+1)->cutoffCnt > 3) r++; ss->statScore = 2 * thisThread->mainHistory[us][from_to(move)] -- 2.39.2