mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Simplify away a useless TTEntry::read()
Not needed when we don hit an entry. closes https://github.com/official-stockfish/Stockfish/pull/5416 No functional change
This commit is contained in:
parent
22a502ac74
commit
90eca83e7f
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ std::tuple<bool, TTData, TTWriter> TranspositionTable::probe(const Key key) cons
|
||||||
> tte[i].depth8 - tte[i].relative_age(generation8) * 2)
|
> tte[i].depth8 - tte[i].relative_age(generation8) * 2)
|
||||||
replace = &tte[i];
|
replace = &tte[i];
|
||||||
|
|
||||||
return {false, replace->read(), TTWriter(replace)};
|
return {false, TTData(), TTWriter(replace)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue