We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfada0a commit 5ad84a1Copy full SHA for 5ad84a1
hnswlib/hnswalg.h
@@ -797,6 +797,7 @@ namespace hnswlib {
797
auto search = label_lookup_.find(label);
798
if (search != label_lookup_.end()) {
799
std::unique_lock <std::mutex> lock_el(link_list_locks_[search->second]);
800
+ has_deletions_ = true;
801
markDeletedInternal(search->second);
802
}
803
label_lookup_[label] = cur_c;
0 commit comments