From 0571e4e390acab33ed8ab6e7ce070df69e196dd2 Mon Sep 17 00:00:00 2001 From: Ryan Hirsch Date: Wed, 25 Feb 2026 09:22:26 -0500 Subject: [PATCH] More NMP when improving Passed STC: LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 89472 W: 23291 L: 22895 D: 43286 Ptnml(0-2): 317, 10389, 22942, 10757, 331 https://tests.stockfishchess.org/tests/view/699f070c3ece4c464328a26f Passed LTC: LLR: 2.96 (-2.94,2.94) <0.50,2.50> Total: 95880 W: 24537 L: 24098 D: 47245 Ptnml(0-2): 55, 10259, 26880, 10684, 62 https://tests.stockfishchess.org/tests/view/699fb9be44b9136df1165ded closes https://github.com/official-stockfish/Stockfish/pull/6638 bench: 2534375 --- AUTHORS | 1 + src/search.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index fc987c8da..853dd3a7a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -223,6 +223,7 @@ Ron Britvich (Britvich) rqs Rui Coelho (ruicoelhopedro) rustam-cpp +Ryan Hirsch Ryan Schmitt Ryan Takker Sami Kiminki (skiminki) diff --git a/src/search.cpp b/src/search.cpp index 8c9c4f8bc..74e0c1233 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -890,7 +890,7 @@ Value Search::Worker::search( } // Step 9. Null move search with verification search - if (cutNode && ss->staticEval >= beta - 17 * depth + 359 && !excludedMove + if (cutNode && ss->staticEval >= beta - 17 * depth - 50 * improving + 359 && !excludedMove && pos.non_pawn_material(us) && ss->ply >= nmpMinPly && !is_loss(beta)) { assert((ss - 1)->currentMove != Move::null());