From ee3b4a3a7c87aa931b8f65fd82df4ce1d60b440a Mon Sep 17 00:00:00 2001 From: Chuck Hastings Date: Wed, 16 Mar 2022 14:40:47 -0400 Subject: [PATCH] updates for PR 2110 --- cpp/src/c_api/uniform_neighbor_sampling.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cpp/src/c_api/uniform_neighbor_sampling.cpp b/cpp/src/c_api/uniform_neighbor_sampling.cpp index d0eb58baf2f..3ebe024605b 100644 --- a/cpp/src/c_api/uniform_neighbor_sampling.cpp +++ b/cpp/src/c_api/uniform_neighbor_sampling.cpp @@ -55,15 +55,14 @@ namespace { bool with_replacement_{false}; cugraph_sample_result_t* result_{nullptr}; - // FIXME: after PR 2110 merges this must be updated - uniform_neighbor_sampling_functor(cugraph_resource_handle_t const* handle, + uniform_neighbor_sampling_functor(::cugraph_resource_handle_t const* handle, ::cugraph_graph_t* graph, ::cugraph_type_erased_device_array_view_t const* start, ::cugraph_type_erased_device_array_view_t const* start_label, ::cugraph_type_erased_host_array_view_t const* fan_out, bool without_replacement) : abstract_functor(), - handle_(*reinterpret_cast(handle)), + handle_(*reinterpret_cast(handle)->handle_), graph_(reinterpret_cast(graph)), start_( reinterpret_cast(start)),