diff --git a/src/search.cpp b/src/search.cpp index 377b96343..9c52592e0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1241,7 +1241,7 @@ moves_loop: // When in check, search starts here { // Adjust full-depth search based on LMR results - if the result was // good enough search deeper, if it was bad enough search shallower. - const bool doDeeperSearch = d < newDepth && value > (bestValue + 43 + 2 * newDepth); + const bool doDeeperSearch = d < newDepth && value > (bestValue + newDepth + 44); const bool doShallowerSearch = value < bestValue + 9; newDepth += doDeeperSearch - doShallowerSearch;