spec : fix ngram-map/begin idx_last_check
This commit is contained in:
parent
b5b3ac3b55
commit
7b7ce932fa
|
|
@ -208,7 +208,7 @@ void common_ngram_map_begin(
|
||||||
count_keys, count_keys_del, count_values_del, count_map_entries_upd);
|
count_keys, count_keys_del, count_values_del, count_map_entries_upd);
|
||||||
}
|
}
|
||||||
|
|
||||||
map.idx_last_check = (map.size_last_begin > 0) ? map.size_last_begin - 1 : 0;
|
map.idx_last_check = size_begin;
|
||||||
map.size_last_begin = size_begin;
|
map.size_last_begin = size_begin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue