Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
ChunjiangZhu committed Oct 25, 2019
1 parent fc2cfd1 commit c2d007a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified similarity_search/.DS_Store
Binary file not shown.
Binary file modified similarity_search/include/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions similarity_search/include/method/hnsw.h
Expand Up @@ -478,6 +478,8 @@ namespace similarity {
void SearchCosineNormalizedOld(KNNQuery<dist_t> *query);
void SearchCosineNormalizedV1Merge(KNNQuery<dist_t> *query);

void baseSearchAlgorithmV1Merge(RangeQuery<dist_t> *query);

int getRandomLevel(double revSize)
{
// RandomReal is thread-safe
Expand Down
Binary file modified similarity_search/src/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion similarity_search/src/method/hnsw.cc
Expand Up @@ -1311,7 +1311,7 @@ namespace similarity {
visitedlistpool->releaseVisitedList(vl);
}

template <typename dist_t>
template <typename dist_t>
void
Hnsw<dist_t>::baseSearchAlgorithmV1Merge(RangeQuery<dist_t> *query)
{
Expand Down

0 comments on commit c2d007a

Please sign in to comment.