Almost no change and simplifies a bit the code.
After 961 games at 1+0
Mod vs Orig +156 =650 -146 +4 ELO
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
{
assert(tte->type() != VALUE_TYPE_EVAL);
{
assert(tte->type() != VALUE_TYPE_EVAL);
- // Refresh tte entry to avoid aging
- TT.store(pos.get_key(), tte->value(), tte->type(), tte->depth(), ttMove);
-
ss[ply].currentMove = ttMove; // Can be MOVE_NONE
return value_from_tt(tte->value(), ply);
}
ss[ply].currentMove = ttMove; // Can be MOVE_NONE
return value_from_tt(tte->value(), ply);
}