Skip to content

Commit

Permalink
minor fix sync frommain
Browse files Browse the repository at this point in the history
  • Loading branch information
yashpatel007 committed Oct 5, 2023
1 parent 392c0ec commit 8cfcd5f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/in_mem_filter_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,7 @@ template <typename label_type> size_t InMemFilterStore<label_type>::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++;
Expand Down

0 comments on commit 8cfcd5f

Please sign in to comment.