From 6e2371a86bd987487d836482cd9bbe4ceaac2ef7 Mon Sep 17 00:00:00 2001 From: Hiraoka Takuya Date: Fri, 5 Apr 2013 02:31:31 +0900 Subject: [PATCH] Don't early stop if we have a mated score No functional change. --- src/search.cpp | 1 + 1 file changed, 1 insertion(+) 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)) { -- 2.39.2