From 413a577bed5ea72559dc5a535d4ee4a1c784b6e9 Mon Sep 17 00:00:00 2001 From: jnke2016 Date: Wed, 30 Oct 2024 11:58:12 -0700 Subject: [PATCH] fix type error --- cpp/src/c_api/neighbor_sampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/c_api/neighbor_sampling.cpp b/cpp/src/c_api/neighbor_sampling.cpp index 54a2632b7c..2988c992fc 100644 --- a/cpp/src/c_api/neighbor_sampling.cpp +++ b/cpp/src/c_api/neighbor_sampling.cpp @@ -908,7 +908,7 @@ struct neighbor_sampling_functor : public cugraph::c_api::abstract_functor { auto num_unique_labels = cugraph::detail::unique( handle_.get_stream(), - raft::device_span{unique_labels.data(), unique_labels.size()}); + raft::device_span{unique_labels.data(), unique_labels.size()}); (*local_label_to_comm_rank).resize(num_unique_labels, handle_.get_stream());