Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunjiangZhu committed Oct 24, 2019
1 parent da3c302 commit dcca140
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion python_bindings/nmslib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct IndexWrapper {
py::gil_scoped_release l;
index->Search(&rq, -1);
}
std::unique_ptr<RangeQuery<dist_t>> res(rq.Result()->Clone());
std::unique_ptr<RangeQuery<dist_t>> res(rq.Result());//->Clone()
return convertResult(res.get());
}

Expand Down
Binary file modified similarity_search/.DS_Store
Binary file not shown.

0 comments on commit dcca140

Please sign in to comment.