mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +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:
parent
8425b2b499
commit
80f5ca88f6
1 changed files with 0 additions and 3 deletions
|
@ -1627,9 +1627,6 @@ namespace {
|
||||||
{
|
{
|
||||||
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
|
ss[ply].currentMove = ttMove; // Can be MOVE_NONE
|
||||||
return value_from_tt(tte->value(), ply);
|
return value_from_tt(tte->value(), ply);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue