From a989aa1825503ab39e6b2cf77bba2f1f022f367c Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 21 May 2023 16:22:28 +0300 Subject: [PATCH] Simplify Prune moves with negative SEE Passed STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 57760 W: 15472 L: 15286 D: 27002 Ptnml(0-2): 123, 6025, 16430, 6147, 155 https://tests.stockfishchess.org/tests/view/6468eb6b0db5177f2b76ef62 Passed LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 93966 W: 25274 L: 25141 D: 43551 Ptnml(0-2): 33, 8498, 29792, 8623, 37 https://tests.stockfishchess.org/tests/view/6469570b0db5177f2b76f81b closes: https://github.com/official-stockfish/Stockfish/pull/4579 Bench: 2304063 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 3632a469..270c5e7c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1037,7 +1037,7 @@ moves_loop: // When in check, search starts here lmrDepth = std::max(lmrDepth, 0); // Prune moves with negative SEE (~4 Elo) - if (!pos.see_ge(move, Value(-27 * lmrDepth * lmrDepth - 33 * lmrDepth / 2))) + if (!pos.see_ge(move, Value(-27 * lmrDepth * lmrDepth - 16 * lmrDepth))) continue; } }