Skip to content

Commit

Permalink
Update python/cugraph/cugraph/tree/minimum_spanning_tree.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rick Ratzel <3039903+rlratzel@users.noreply.github.com>
  • Loading branch information
BradReesWork and rlratzel authored May 3, 2022
1 parent 2ec09b3 commit 0b62f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cugraph/cugraph/tree/minimum_spanning_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
def _minimum_spanning_tree_subgraph(G):
mst_subgraph = Graph()
if G.is_directed():
raise Exception("input graph must be undirected")
raise ValueError("input graph must be undirected")
mst_df = minimum_spanning_tree_wrapper.minimum_spanning_tree(G)
if G.renumbered:
mst_df = G.unrenumber(mst_df, "src")
Expand Down

0 comments on commit 0b62f1e

Please sign in to comment.