X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=aec6434553a8c82f48908fad4183ed20ea50121d;hb=a6fc3d6ee501911375b29ebdb09638eb6789d091;hp=94b34389178f0f18119d010bea23c8bdebf3d06e;hpb=a1f9bf19d9aa542fd5109a4ce997eac8122568d4;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 94b34389..aec64345 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -633,12 +633,6 @@ namespace { // Check for some early stop condition if (!StopRequest && Limits.useTimeManagement()) { - // Stop search early when the last two iterations returned a mate score - if ( depth >= 5 - && abs(bestValues[depth]) >= VALUE_MATE_IN_PLY_MAX - && abs(bestValues[depth - 1]) >= VALUE_MATE_IN_PLY_MAX) - StopRequest = true; - // Stop search early if one move seems to be much better than the // others or if there is only a single legal move. Also in the latter // case we search up to some depth anyway to get a proper score.