Commit 53876970 authored by pigghost's avatar pigghost Committed by Matthijs Douze

Update IndexIDMap reset (#401)

parent 9efdd8d4
......@@ -53,6 +53,7 @@ void IndexIDMap::train (idx_t n, const float *x)
void IndexIDMap::reset ()
{
index->reset ();
id_map.clear();
ntotal = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment