Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
ChunjiangZhu committed Oct 30, 2019
1 parent a861763 commit 7a4b145
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions similarity_search/src/method/small_world_rand.cc
Expand Up @@ -601,8 +601,6 @@ 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::cerr<< "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 7a4b145

Please sign in to comment.