]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Don't use TT just to save a node evaluation
[stockfish] / src / search.cpp
index 79046ad2007aedbc13ab8315b1805adc65a67ef9..1109bf8e7fced83878af19e696d3205d0e1dbbae 100644 (file)
@@ -585,10 +585,6 @@ namespace {
                 || ((tte->type() & BOUND_UPPER) && ttValue < eval))
                 eval = ttValue;
         }
-
-        if (!tte)
-            TT.store(posKey, VALUE_NONE, BOUND_NONE, DEPTH_NONE, MOVE_NONE,
-                     ss->staticEval, ss->evalMargin);
     }
 
     // Update gain for the parent non-capture move given the static position