X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftt.cpp;h=9f0e21fdea148702d098e85aa354374dfc84a684;hb=9741694fca7dc59a2d16ed6a69f905d22472038c;hp=e140a0ba10ec5fa2183b506b68750a4dcbc39289;hpb=e145c0d3e278fb601db49cc16076f10a30b60f19;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)