From e145c0d3e278fb601db49cc16076f10a30b60f19 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 20 Sep 2009 19:39:54 +0100 Subject: [PATCH] Revert evaluation drift Still not clear if it helps and, especially, how it helps. So revert for now to avoid any influence on future feature now under test. With this patch we come back to be functional equivalent to patch e33c94883 F_53. Signed-off-by: Marco Costalba --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 06cc9b60..0c9f1ee7 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1540,10 +1540,10 @@ namespace { // Use the cached evaluation score if possible assert(ei.futilityMargin == Value(0)); - staticValue = tte->value() + 7; + staticValue = tte->value(); } else - staticValue = evaluate(pos, ei, threadID) + 7; + staticValue = evaluate(pos, ei, threadID); if (ply == PLY_MAX - 1) return evaluate(pos, ei, threadID); -- 2.39.2