diff --git a/cpp/include/raft/spatial/knn/knn.hpp b/cpp/include/raft/spatial/knn/knn.hpp index 066d1cff3a..eae5a3c8cc 100644 --- a/cpp/include/raft/spatial/knn/knn.hpp +++ b/cpp/include/raft/spatial/knn/knn.hpp @@ -53,7 +53,7 @@ using deviceAllocator = raft::mr::device::allocator; inline void brute_force_knn( raft::handle_t const &handle, std::vector &input, std::vector &sizes, int D, float *search_items, int n, int64_t *res_I, - float *res_D, int k, bool rowMajorIndex = false, bool rowMajorQuery = false, + float *res_D, int k, bool rowMajorIndex = true, bool rowMajorQuery = true, std::vector *translations = nullptr, distance::DistanceType metric = distance::DistanceType::L2Unexpanded, float metric_arg = 2.0f) {