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