From ace348f666ee6b2aac85df2ef4284d10207fb38f Mon Sep 17 00:00:00 2001
From: enp1s0 <ootomo.h.x86@gmail.com>
Date: Thu, 5 Dec 2024 22:52:56 +0900
Subject: [PATCH] Add `.view()`

---
 cpp/include/raft/cluster/kmeans.cuh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/include/raft/cluster/kmeans.cuh b/cpp/include/raft/cluster/kmeans.cuh
index fa5db93a64..ee1fc83a9b 100644
--- a/cpp/include/raft/cluster/kmeans.cuh
+++ b/cpp/include/raft/cluster/kmeans.cuh
@@ -61,7 +61,7 @@ using KeyValueIndexOp = detail::KeyValueIndexOp<IndexT, DataT>;
  *               params,
  *               X,
  *               std::nullopt,
- *               centroids,
+ *               centroids.view(),
  *               raft::make_scalar_view(&inertia),
  *               raft::make_scalar_view(&n_iter));
  * @endcode