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.
2 parents dd1bdb7 + 361893c commit b3fb472Copy full SHA for b3fb472
hnswlib/hnswalg.h
@@ -92,8 +92,8 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
92
size_t ef_construction = 200,
93
size_t random_seed = 100,
94
bool allow_replace_deleted = false)
95
- : link_list_locks_(max_elements),
96
- label_op_locks_(MAX_LABEL_OPERATION_LOCKS),
+ : label_op_locks_(MAX_LABEL_OPERATION_LOCKS),
+ link_list_locks_(max_elements),
97
element_levels_(max_elements),
98
allow_replace_deleted_(allow_replace_deleted) {
99
max_elements_ = max_elements;
0 commit comments