diff --git a/src/search.cpp b/src/search.cpp index 222be393..09df1ac2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1041,7 +1041,7 @@ moves_loop: // When in check, search starts from here continue; // Prune moves with negative SEE (~10 Elo) - if (!pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth))) + if (!pos.see_ge(move, Value(-(31 - std::min(lmrDepth, 18)) * lmrDepth * lmrDepth))) continue; } else if ( (!givesCheck || !extension)