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: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6e2371a86bd987487d836482cd9bbe4ceaac2ef7;p=fairystockfish.git Don't early stop if we have a mated score No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 5ff23ad..e246512 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)) {