Skip to content

Commit 6ec9bad

Browse files
committed
fix forgotten flag
1 parent 1e0e002 commit 6ec9bad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python_bindings/bindings.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ class Index {
164164
}
165165
appr_alg = new hnswlib::HierarchicalNSW<dist_t>(l2space, path_to_index, false, max_elements);
166166
cur_l = appr_alg->cur_element_count;
167+
index_inited = true;
167168
}
168169

169170
void normalize_vector(float *data, float *norm_array){

0 commit comments

Comments
 (0)