Skip to content

Commit

Permalink
nx-cugraph: handle seed argument in edge_betweenness_centrality (#3943)
Browse files Browse the repository at this point in the history
CC @rlratzel who brought this to my attention and can test this fix

Authors:
  - Erik Welch (https://github.com/eriknw)
  - Brad Rees (https://github.com/BradReesWork)

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)

URL: #3943
  • Loading branch information
eriknw authored Oct 30, 2023
1 parent e0c3a93 commit 9755022
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 9755022

Please sign in to comment.