Skip to content

Commit

Permalink
remove a possibly erroneous check
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Aug 30, 2024
1 parent a921b99 commit 01eeb1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cpp/src/sampling/sampling_post_processing_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ void check_input_edges(raft::handle_t const& handle,
CUGRAPH_EXPECTS((num_vertex_types == 1) || vertex_type_offsets.has_value(),
"Invalid input arguments: vertex_type_offsets.has_value() should be true if "
"num_vertex_types >= 2.");
} else {
CUGRAPH_EXPECTS(
num_labels == 0,
"Invalid input arguments: num_labels should be 0 if the input edge list is empty.");
}

CUGRAPH_EXPECTS((!seed_vertices.has_value() && !seed_vertex_label_offsets.has_value()) ||
Expand Down

0 comments on commit 01eeb1d

Please sign in to comment.