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 442c940 commit 086a613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion similarity_search/src/method/small_world_rand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ 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");
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 086a613

Please sign in to comment.