X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c0a982363403ccae483d2fc5a00796e2323a06f6;hp=e2ab9cd933db6bd0774c27a456985f92292db96a;hb=d34bb889b185e6796bbebb9bb3c2b85c8132d7cb;hpb=a3a0df92a3ed5ce7c98ff596e687d3d6533590c8 diff --git a/src/search.cpp b/src/search.cpp index e2ab9cd9..c0a98236 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -440,6 +441,7 @@ namespace { // Stop search early if one move seems to be much better than others if ( depth >= 12 + && BestMoveChanges <= DBL_EPSILON && !stop && PVSize == 1 && bestValue > VALUE_MATED_IN_MAX_PLY