Skip to content

Commit

Permalink
nx-cugraph: handle seed argument in edge_betweenness_centrality
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknw committed Oct 19, 2023
1 parent 0fd5883 commit 1e90a2b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def edge_betweenness_centrality(G, k=None, normalized=True, weight=None, seed=No
raise NotImplementedError(
"Weighted implementation of betweenness centrality not currently supported"
)
seed = _seed_to_int(seed)
G = _to_graph(G, weight)
src_ids, dst_ids, values, _edge_ids = plc.edge_betweenness_centrality(
resource_handle=plc.ResourceHandle(),
Expand Down

0 comments on commit 1e90a2b

Please sign in to comment.