Skip to content

Commit

Permalink
MG WCC bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Sep 2, 2021
1 parent b89eb18 commit 9d25030
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpp/src/structure/create_graph_from_edgelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ create_graph_from_edgelist_impl(raft::handle_t const& handle,
*vertex_partition_segment_offsets) =
cugraph::renumber_edgelist<vertex_t, edge_t, multi_gpu>(
handle,
std::optional<std::tuple<vertex_t const*, vertex_t>>{std::make_tuple(
(*local_vertex_span).data(), static_cast<vertex_t>((*local_vertex_span).size()))},
local_vertex_span
? std::optional<std::tuple<vertex_t const*, vertex_t>>{std::make_tuple(
(*local_vertex_span).data(), static_cast<vertex_t>((*local_vertex_span).size()))}
: std::nullopt,
major_ptrs,
minor_ptrs,
edgelist_edge_counts,
Expand Down

0 comments on commit 9d25030

Please sign in to comment.