Skip to content

Commit

Permalink
Fix build error with NO_CUGRAPH_OPS (#4563)
Browse files Browse the repository at this point in the history
Closes #4554, user bug found building cugraph 24.10

Authors:
  - Seunghwa Kang (https://github.com/seunghwak)

Approvers:
  - Chuck Hastings (https://github.com/ChuckHastings)

URL: #4563
  • Loading branch information
seunghwak authored Jul 30, 2024
1 parent a1f8a65 commit 4a9218c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1573,11 +1573,11 @@ uniform_sample_and_compute_local_nbr_indices(
size_t K,
bool with_replacement)
{
using edge_t = typename GraphViewType::edge_type;
#ifndef NO_CUGRAPH_OPS
assert(cugraph::invalid_edge_id_v<edge_t> == cugraph::ops::graph::INVALID_ID<edge_t>);

using vertex_t = typename GraphViewType::vertex_type;
using edge_t = typename GraphViewType::edge_type;
using key_t = typename thrust::iterator_traits<KeyIterator>::value_type;

int minor_comm_size{1};
Expand Down

0 comments on commit 4a9218c

Please sign in to comment.