1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00

Do not refresh TT in qsearch

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>
This commit is contained in:
Marco Costalba 2010-05-01 06:12:04 +01:00
parent 8425b2b499
commit 80f5ca88f6

View file

@ -1627,9 +1627,6 @@ namespace {
{
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);
}