From 68e1dbf0f10001bac97cd968d4fd7e2d44ac02ca Mon Sep 17 00:00:00 2001 From: Neelam Mahapatro Date: Sun, 14 Jan 2024 21:07:58 +0530 Subject: [PATCH] fix --- src/index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.cpp b/src/index.cpp index ac9b52073..dacd58f86 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -540,7 +540,7 @@ void Index::load(const char *filename, uint32_t num_threads, ui _filter_store->load_medoids(labels_to_medoids); _filter_store->load_universal_labels(std::string(filename) + "_universal_label.txt"); } -#endif + _nd = data_file_num_pts - _num_frozen_pts; _empty_slots.clear(); _empty_slots.reserve(_max_points);