]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Revert evaluation drift
[stockfish] / src / search.cpp
index 06cc9b60fc97155cf6687422ad5d2b8b2de1eb5b..0c9f1ee703ef3dd188710826d2c7e2d3713c9354 100644 (file)
@@ -1540,10 +1540,10 @@ namespace {
         // Use the cached evaluation score if possible
         assert(ei.futilityMargin == Value(0));
 
         // Use the cached evaluation score if possible
         assert(ei.futilityMargin == Value(0));
 
-        staticValue = tte->value() + 7;
+        staticValue = tte->value();
     }
     else
     }
     else
-        staticValue = evaluate(pos, ei, threadID) + 7;
+        staticValue = evaluate(pos, ei, threadID);
 
     if (ply == PLY_MAX - 1)
         return evaluate(pos, ei, threadID);
 
     if (ply == PLY_MAX - 1)
         return evaluate(pos, ei, threadID);