From 871b4091b154adf8a3934968db1d97263dd71aff Mon Sep 17 00:00:00 2001 From: Hiroyuki Ootomo Date: Wed, 10 Apr 2024 17:08:53 +0900 Subject: [PATCH] Fix a bug --- cpp/include/raft/neighbors/detail/cagra/cagra_search.cuh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/raft/neighbors/detail/cagra/cagra_search.cuh b/cpp/include/raft/neighbors/detail/cagra/cagra_search.cuh index ccfe3c7e2d..b9edbbfc4a 100644 --- a/cpp/include/raft/neighbors/detail/cagra/cagra_search.cuh +++ b/cpp/include/raft/neighbors/detail/cagra/cagra_search.cuh @@ -90,8 +90,8 @@ void search_main_core( CagraSampleFilterT sample_filter = CagraSampleFilterT()) { RAFT_LOG_DEBUG("# dataset size = %lu, dim = %lu\n", - static_cast(index.data().n_rows()), - static_cast(index.data().dim())); + static_cast(dataset_desc.size), + static_cast(dataset_desc.dim)); RAFT_LOG_DEBUG("# query size = %lu, dim = %lu\n", static_cast(queries.extent(0)), static_cast(queries.extent(1)));