X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=27f0f9870852c1dd691fc67f6dfd8679ee34274b;hb=7f97ba775ece910402108d7a7b11ce645185d300;hp=55d11003354b8da3e50c6c19648bc20bb86d721b;hpb=b4b704e6866bde21c69cd53457a6a91a15182b36;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 55d11003..27f0f987 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1009,7 +1009,10 @@ moves_loop: // When in check, search starts here lmrDepth = std::max(lmrDepth, -1); // Futility pruning: parent node (~13 Elo) - if (!ss->inCheck && lmrDepth < 13 && ss->staticEval + 77 + 124 * lmrDepth <= alpha) + if (!ss->inCheck && lmrDepth < 13 + && ss->staticEval + (bestValue < ss->staticEval - 62 ? 123 : 77) + + 127 * lmrDepth + <= alpha) continue; lmrDepth = std::max(lmrDepth, 0);