Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Boytsov authored and Leonid Boytsov committed Jun 16, 2018
2 parents 829e830 + 6280786 commit 314f48e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion python_bindings/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

else:
# Otherwise build all the files here directly (excluding extras which need eigen/boost)
exclude_files = set("""lsh.cc lsh_multiprobe.cc lsh_space.cc falconn.cc nndes.cc space_sqfd.cc
exclude_files = set("""bbtree.cc lsh.cc lsh_multiprobe.cc lsh_space.cc falconn.cc nndes.cc space_sqfd.cc
dummy_app.cc main.cc""".split())

for root, subdirs, files in os.walk(os.path.join("nmslib", "similarity_search", "src")):
Expand Down
2 changes: 1 addition & 1 deletion similarity_search/include/factory/method/bbtree.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef _FACTORY_BBTREE_H_
#define _FACTORY_BBTREE_H_

#if WITH_EXTRAS
#ifdef WITH_EXTRAS

#include <method/bbtree.h>

Expand Down
4 changes: 0 additions & 4 deletions similarity_search/include/method/bbtree.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#ifndef _BBTREE_H_
#define _BBTREE_H_

#if WITH_EXTRAS

#include "index.h"
#include "params.h"

Expand Down Expand Up @@ -128,6 +126,4 @@ class BBTree : public Index<dist_t> {

} // namespace similarity

#endif

#endif // _BBTREE_H_
2 changes: 1 addition & 1 deletion similarity_search/test/test_integr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ vector<MethodTestCase> vTestCaseDesc = {
MethodTestCase(DIST_TYPE_FLOAT, "l2", "final8_10K.txt", "list_clusters", false, "strategy=random,useBucketSize=1,bucketSize=10", "",
0 /* no KNN */, 0.5 /* range search radius 0.5*/ , 1.0, 1.0, 0.0, 0.0, 2.4, 3.4),

#ifdef WITH_EXTRAS
// *************** bbtree tests ******************** //
// knn
/*
Expand All @@ -311,7 +312,6 @@ vector<MethodTestCase> vTestCaseDesc = {
MethodTestCase(DIST_TYPE_FLOAT, "kldivgenfast", "final8_10K.txt", "bbtree", false, "bucketSize=10", "",
0 /* no KNN */, 0.5 /* range search radius 0.5*/ , 0.999, 1.0, 0.0, 0.0, 1.2, 2.4),

#ifdef WITH_EXTRAS

// *************** multi-probe LSH tests ******************** //
// knn
Expand Down

0 comments on commit 314f48e

Please sign in to comment.