From d34bb889b185e6796bbebb9bb3c2b85c8132d7cb Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Fri, 1 Nov 2013 20:42:47 +0000 Subject: [PATCH] Test Easy Move if no BestMoveChanges In case we find a very good move after a troubled start, we don't return immediately anymore. Tested directly at long TC where it passed: LLR: 2.95 (-2.94,2.94) [0.00,6.00] Total: 13910 W: 2397 L: 2228 D: 9285 bench: 7995098 --- src/search.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2