Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunjiangZhu committed Oct 28, 2019
1 parent 2e90452 commit 442c940
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified similarity_search/include/.DS_Store
Binary file not shown.
Binary file modified similarity_search/include/factory/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions similarity_search/src/method/small_world_rand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ void SmallWorldRand<dist_t>::addCriticalSection(MSWNode *newElement){
template <typename dist_t>
void SmallWorldRand<dist_t>::Search(RangeQuery<dist_t>* query, IdType) const {
// throw runtime_error("Range search is not supported!");
CHECK_MSG(1=0, "Search");
std::out<< "search" << endl;
if (searchAlgoType_ == kV1Merge) {std::cerr << "call SearchV1Merge" << endl; SearchV1Merge(query);}
else {std::cerr << "call SearchOld" << endl; SearchOld(query);}
}
Expand Down

0 comments on commit 442c940

Please sign in to comment.