Skip to content

Commit

Permalink
resize indices array
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Feb 21, 2024
1 parent 1a64e0e commit 0355693
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/community/k_truss_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ void k_truss(raft::handle_t const& handle,

// Need to run prefix_sum again to get new ranges because some incoming edges were removed
prefix_sum.resize(num_edges + 1, handle.get_stream());
indices.resize(num_invalid_edges, handle.get_stream());

// FIXME: need to sort 'incoming_vertex_pairs'. No need because a stable partition was
// performed that preserve the sorting
Expand Down

0 comments on commit 0355693

Please sign in to comment.