From: Marco Costalba Date: Sat, 1 May 2010 09:34:28 +0000 (+0100) Subject: Allow a static evaluation to overwrite an exsisting entry X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=67f611f3eb68a9714d41d62777913bb2a4075314 Allow a static evaluation to overwrite an exsisting entry The idea here is that if we cut-off after a stand pat the already exsisting TT entry was not usable with current beta, so overwrite anyway. After 999 games at 1+0 Mod vs Orig +173 =665 -161 + 4 ELO Signed-off-by: Marco Costalba --- diff --git a/src/tt.cpp b/src/tt.cpp index a2ad42d0..c10f2e44 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -121,10 +121,6 @@ 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_EV_LO - if (tte->key() && t == VALUE_TYPE_EV_LO) - return; - // Preserve any exsisting ttMove if (m == MOVE_NONE) m = tte->move();