Remove history bonus from Eval
[stockfish] / src / search.cpp
index 83fb722faf6d2ac0922ee6ffbb1e730ca734a29d..7c839dfc89f52ec62d33b0ae98ac8654688e4759 100644 (file)
@@ -794,11 +794,7 @@ namespace {
     else
     {
         if ((ss-1)->currentMove != MOVE_NULL)
-        {
-            int bonus = -(ss-1)->statScore / 512;
-
-            ss->staticEval = eval = evaluate(pos) + bonus;
-        }
+            ss->staticEval = eval = evaluate(pos);
         else
             ss->staticEval = eval = -(ss-1)->staticEval + 2 * Tempo;