]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Early stop: retire redundant Rml.size() == 1 case
[stockfish] / src / search.cpp
index 4304298c73eb4783a7f45e4c20b488f3aa8f567e..702adc53dbdae3e81508f78e88c08cc12556630d 100644 (file)
@@ -651,11 +651,6 @@ namespace {
         // Check for some early stop condition
         if (!StopRequest && Limits.useTimeManagement())
         {
-            // Stop search early if there is only a single legal move. Search to
-            // some depth anyway to get a proper score.
-            if (Rml.size() == 1 && depth >= 7)
-                StopRequest = true;
-
             // Take in account some extra time if the best move has changed
             if (depth > 4 && depth < 50)
                 TimeMgr.pv_instability(bestMoveChanges[depth], bestMoveChanges[depth - 1]);