X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftt.cpp;h=9f0e21fdea148702d098e85aa354374dfc84a684;hb=21850536d54c3f142f1907e31ac0bfab8f4a8862;hp=e140a0ba10ec5fa2183b506b68750a4dcbc39289;hpb=fd12e8cb239180607559bb805e233f7ea704a67c;p=stockfish diff --git a/src/tt.cpp b/src/tt.cpp index e140a0ba..9f0e21fd 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -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)