Skip to content

Commit 1b02b52

Browse files
authored
Merge pull request #1 from ironyoung/dupcode
Dupcode
2 parents 48a5980 + 511c483 commit 1b02b52

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

hnswlib/brutoforce.h renamed to hnswlib/bruteforce.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ namespace hnswlib {
113113
readBinaryPOD(input, size_per_element_);
114114
readBinaryPOD(input, cur_element_count);
115115

116-
data_size_ = s->get_data_size();
117-
fstdistfunc_ = s->get_dist_func();
118-
dist_func_param_ = s->get_dist_func_param();
119-
120-
121116
data_size_ = s->get_data_size();
122117
fstdistfunc_ = s->get_dist_func();
123118
dist_func_param_ = s->get_dist_func_param();

hnswlib/hnswlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ namespace hnswlib {
6262

6363
#include "space_l2.h"
6464
#include "space_ip.h"
65-
#include "brutoforce.h"
65+
#include "bruteforce.h"
6666
#include "hnswalg.h"

0 commit comments

Comments
 (0)