From: Marco Costalba Date: Sat, 19 Sep 2009 16:34:42 +0000 (+0200) Subject: Evaluation drift: add always 7 instead of ply X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=24cc3a97a480afdd5587ab9b2d75c1426acc3133;hp=e4277c06bfb783b5ec78001eeef06fa9feae033f Evaluation drift: add always 7 instead of ply After 828 games at 1+0 Mod vs Orig +191 =447 -190 50.06% 414.5/828 So almost no difference. Patch is committed more for documentation purposes then for other reasons. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 41f679a2..06cc9b60 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() + ply; + staticValue = tte->value() + 7; } else - staticValue = evaluate(pos, ei, threadID) + ply; + staticValue = evaluate(pos, ei, threadID) + 7; if (ply == PLY_MAX - 1) return evaluate(pos, ei, threadID);