Skip to content

Commit

Permalink
Remove stale Cache::clear() method
Browse files Browse the repository at this point in the history
closes #5666

No functional change
  • Loading branch information
mstembera authored and Disservin committed Nov 13, 2024
1 parent 54cf226 commit f77bac3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/nnue/nnue_accumulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f77bac3

Please sign in to comment.