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 517f5eb commit 12fc750Copy full SHA for 12fc750
hnswlib/hnswalg.h
@@ -39,7 +39,6 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
39
size_t maxM0_{0};
40
size_t ef_construction_{0};
41
size_t ef_{ 0 };
42
- size_t num_elements_per_chunk_{kDefaultMaxElementsPerChunk};
43
44
double mult_{0.0}, revSize_{0.0};
45
int maxlevel_{0};
@@ -80,6 +79,7 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
80
79
std::mutex deleted_elements_lock; // lock for deleted_elements
81
std::unordered_set<tableint> deleted_elements; // contains internal ids of deleted elements
82
+ size_t num_elements_per_chunk_{kDefaultMaxElementsPerChunk};
83
84
HierarchicalNSW(SpaceInterface<dist_t> *s) {
85
}
0 commit comments