Skip to content

Commit 0bb78e5

Browse files
committed
spec : fix ngram-map/begin idx_last_check
1 parent efd684e commit 0bb78e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/ngram-map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void common_ngram_map_begin(
208208
count_keys, count_keys_del, count_values_del, count_map_entries_upd);
209209
}
210210

211-
map.idx_last_check = (map.size_last_begin > 0) ? map.size_last_begin - 1 : 0;
211+
map.idx_last_check = size_begin;
212212
map.size_last_begin = size_begin;
213213
}
214214

0 commit comments

Comments
 (0)