Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Oct 30, 2024
1 parent 3386230 commit 413a577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/c_api/neighbor_sampling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<label_t const>{unique_labels.data(), unique_labels.size()});
raft::device_span<label_t>{unique_labels.data(), unique_labels.size()});

(*local_label_to_comm_rank).resize(num_unique_labels, handle_.get_stream());

Expand Down

0 comments on commit 413a577

Please sign in to comment.