Skip to content

Commit

Permalink
update doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Nov 20, 2023
1 parent cc113db commit 0ceeb4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/pylibcugraph/pylibcugraph/pagerank.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def pagerank(ResourceHandle resource_handle,
>>> graph_props = pylibcugraph.GraphProperties(
... is_symmetric=False, is_multigraph=False)
>>> G = pylibcugraph.SGGraph(
... resource_handle, graph_props, srcs, dsts, weights,
... resource_handle, graph_props, srcs, dsts, weight_array=weights,
... store_transposed=True, renumber=False, do_expensive_check=False)
>>> (vertices, pageranks) = pylibcugraph.pagerank(
... resource_handle, G, None, None, None, None, alpha=0.85,
Expand Down
2 changes: 1 addition & 1 deletion python/pylibcugraph/pylibcugraph/sssp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def sssp(ResourceHandle resource_handle,
>>> graph_props = pylibcugraph.GraphProperties(
... is_symmetric=False, is_multigraph=False)
>>> G = pylibcugraph.SGGraph(
... resource_handle, graph_props, srcs, dsts, weights,
... resource_handle, graph_props, srcs, dsts, weight_array=weights,
... store_transposed=False, renumber=False, do_expensive_check=False)
>>> (vertices, distances, predecessors) = pylibcugraph.sssp(
... resource_handle, G, source=1, cutoff=999,
Expand Down

0 comments on commit 0ceeb4f

Please sign in to comment.