From 8cfcd5fe18dd0673da6b07fc1c1416a7a9c80747 Mon Sep 17 00:00:00 2001 From: yashpatel007 Date: Thu, 5 Oct 2023 09:49:04 -0400 Subject: [PATCH] minor fix sync frommain --- src/in_mem_filter_store.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/in_mem_filter_store.cpp b/src/in_mem_filter_store.cpp index f11242e2c..d3db0ae59 100644 --- a/src/in_mem_filter_store.cpp +++ b/src/in_mem_filter_store.cpp @@ -451,11 +451,7 @@ template size_t InMemFilterStore::parse_label_ lbls.push_back(token_as_num); _labels.insert(token_as_num); } - if (lbls.size() <= 0) - { - diskann::cout << "No label found on line: " << line << std::endl; - exit(-1); - } + std::sort(lbls.begin(), lbls.end()); _location_to_labels[line_cnt] = lbls; line_cnt++;