From: peregrineshahin Date: Thu, 23 Mar 2023 10:35:34 +0000 (+0300) Subject: Allow PvNode in futility pruning for captures. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3f01e3f41f11aa66befec2307a32ee023c699a2a;p=stockfish Allow PvNode in futility pruning for captures. Passed non-regression STC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 148128 W: 39428 L: 39333 D: 69367 Ptnml(0-2): 492, 16326, 40315, 16457, 474 https://tests.stockfishchess.org/tests/view/641c2dbfdb43ab2ba6f804e8 Passed non-regression LTC: LLR: 2.96 (-2.94,2.94) <-1.75,0.25> Total: 376256 W: 100906 L: 101039 D: 174311 Ptnml(0-2): 186, 36697, 114494, 36566, 185 https://tests.stockfishchess.org/tests/view/641d33b2db43ab2ba6f83338 closes https://github.com/official-stockfish/Stockfish/pull/4470 bench: 4935616 --- diff --git a/src/search.cpp b/src/search.cpp index ac74cdaf..5f95a1bd 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1005,7 +1005,6 @@ moves_loop: // When in check, search starts here { // Futility pruning for captures (~2 Elo) if ( !givesCheck - && !PvNode && lmrDepth < 6 && !ss->inCheck && ss->staticEval + 182 + 230 * lmrDepth + PieceValue[EG][pos.piece_on(to_sq(move))]