From: Marco Costalba Date: Sun, 20 Sep 2009 18:39:54 +0000 (+0100) Subject: Revert evaluation drift X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=e145c0d3e278fb601db49cc16076f10a30b60f19;hp=24cc3a97a480afdd5587ab9b2d75c1426acc3133 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 --- 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);