Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarghi-nv committed May 11, 2022
1 parent 49fdabe commit 6e02fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cugraph/cugraph/traversal/sssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _ensure_args(G, source, method, directed,
raise TypeError(exc_value % "unweighted")
if overwrite is not None:
raise TypeError(exc_value % "overwrite")

# Ensure source vertex is valid
if is_nx_graph_type(G_type) and source not in G:
raise ValueError(f"Vertex {source} is not valid for the Graph")
Expand Down

0 comments on commit 6e02fd5

Please sign in to comment.