diff --git a/src/search.cpp b/src/search.cpp index 7d567b8a..ae83ab34 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1190,12 +1190,9 @@ 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 = value > (bestValue + 51 + 10 * (newDepth - d)); - const bool doEvenDeeperSearch = value > alpha + 700 && ss->doubleExtensions <= 6; const bool doShallowerSearch = value < bestValue + newDepth; - ss->doubleExtensions = ss->doubleExtensions + doEvenDeeperSearch; - - newDepth += doDeeperSearch - doShallowerSearch + doEvenDeeperSearch; + newDepth += doDeeperSearch - doShallowerSearch; if (newDepth > d) value = -search(pos, ss + 1, -(alpha + 1), -alpha, newDepth, !cutNode);