This commit is contained in:
Bernhard Froemel 2026-02-03 11:54:11 +00:00
parent e543f88952
commit b6cb26dc45
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ common_ngram_mod::entry_t common_ngram_mod::get(const entry_t * tokens) const {
void common_ngram_mod::reset() {
std::fill(entries.begin(), entries.end(), EMPTY);
std::fill(scores.begin(), scores.end(), 0);
std::fill(scores.begin(), scores.end(), SCORE_INIT);
used = 0;
collisions = 0;
}