Skip to content

Commit

Permalink
fixing compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
searchivairus committed Feb 18, 2018
1 parent 790e5aa commit c43dc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_bindings/nmslib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ struct IndexWrapper {
{
py::gil_scoped_release l;

ParallelFor(0, queries.size(), num_threads, [&](size_t query_index) {
ParallelFor(0, queries.size(), num_threads, [&](size_t query_index, size_t threadId) {
KNNQuery<dist_t> knn(*space, queries[query_index], k);
index->Search(&knn, -1);
results[query_index].reset(knn.Result()->Clone());
Expand Down

0 comments on commit c43dc50

Please sign in to comment.