X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=06cc9b60fc97155cf6687422ad5d2b8b2de1eb5b;hp=41f679a2e791a73a4e39a7a1b3cefb5767775da7;hb=24cc3a97a480afdd5587ab9b2d75c1426acc3133;hpb=e4277c06bfb783b5ec78001eeef06fa9feae033f 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);