From: Hiraoka Takuya Date: Thu, 4 Apr 2013 17:31:31 +0000 (+0900) Subject: Don't early stop if we have a mated score X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=6e2371a86bd987487d836482cd9bbe4ceaac2ef7 Don't early stop if we have a mated score No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 5ff23ad0..e246512e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -440,6 +440,7 @@ namespace { if ( depth >= 12 && !stop && PVSize == 1 + && bestValue > VALUE_MATED_IN_MAX_PLY && ( RootMoves.size() == 1 || Time::now() - SearchTime > (TimeMgr.available_time() * 20) / 100)) {