Skip to content

Commit

Permalink
Make handle const
Browse files Browse the repository at this point in the history
  • Loading branch information
hlinsen committed Feb 8, 2021
1 parent 4a79adc commit 700f7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/spatial/knn/knn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ using deviceAllocator = raft::mr::device::allocator;
* form (e.g., without raising to the 1/p power).
*/
void brute_force_knn(
raft::handle_t &handle, std::vector<float *> &input, std::vector<int> &sizes,
raft::handle_t const &handle, std::vector<float *> &input, std::vector<int> &sizes,
int D, float *search_items, int n, int64_t *res_I, float *res_D, int k,
bool rowMajorIndex = false, bool rowMajorQuery = false,
distance::DistanceType metric = distance::DistanceType::L2Unexpanded,
Expand Down

0 comments on commit 700f7b2

Please sign in to comment.