1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Remove stale Cache::clear() method

closes https://github.com/official-stockfish/Stockfish/pull/5666

No functional change
This commit is contained in:
mstembera 2024-11-03 16:50:47 -08:00 committed by Disservin
parent 54cf226604
commit f77bac3dca

View file

@ -80,11 +80,6 @@ struct AccumulatorCaches {
entry.clear(network.featureTransformer->biases);
}
void clear(const BiasType* biases) {
for (auto& entry : entries)
entry.clear(biases);
}
std::array<Entry, COLOR_NB>& operator[](Square sq) { return entries[sq]; }
std::array<std::array<Entry, COLOR_NB>, SQUARE_NB> entries;