From 87b2b7d399b534748fe4d4a8b4c8ffba454f23aa Mon Sep 17 00:00:00 2001 From: Vivek Narang <123010842+narangvivek10@users.noreply.github.com> Date: Tue, 2 Jan 2024 13:57:39 -0500 Subject: [PATCH] Fix a typo (#2070) A code change to fix a typo that I found while going through the codebase. Authors: - Vivek Narang (https://github.com/narangvivek10) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: https://github.com/rapidsai/raft/pull/2070 --- cpp/include/raft/neighbors/detail/refine_device.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/raft/neighbors/detail/refine_device.cuh b/cpp/include/raft/neighbors/detail/refine_device.cuh index 6ee96957fa..337318f791 100644 --- a/cpp/include/raft/neighbors/detail/refine_device.cuh +++ b/cpp/include/raft/neighbors/detail/refine_device.cuh @@ -51,7 +51,7 @@ void refine_device(raft::resources const& handle, uint32_t k = static_cast(indices.extent(1)); RAFT_EXPECTS(k <= raft::matrix::detail::select::warpsort::kMaxCapacity, - "k must be lest than topk::kMaxCapacity (%d).", + "k must be less than topk::kMaxCapacity (%d).", raft::matrix::detail::select::warpsort::kMaxCapacity); common::nvtx::range fun_scope(