]> git.sesse.net Git - stockfish/blobdiff - src/tt.cpp
Save static evaluation also for failed low nodes
[stockfish] / src / tt.cpp
index e140a0ba10ec5fa2183b506b68750a4dcbc39289..9f0e21fdea148702d098e85aa354374dfc84a684 100644 (file)
@@ -121,8 +121,8 @@ void TranspositionTable::store(const Key posKey, Value v, ValueType t, Depth d,
   {
       if (!tte->key() || tte->key() == posKey32) // empty or overwrite old
       {
-          // Do not overwrite when new type is VALUE_TYPE_EVAL
-          if (tte->key() && t == VALUE_TYPE_EVAL)
+          // Do not overwrite when new type is VALUE_TYPE_EV_LO
+          if (tte->key() && t == VALUE_TYPE_EV_LO)
               return;
 
           if (m == MOVE_NONE)