We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03071c2 commit 6e5932cCopy full SHA for 6e5932c
nx_parallel/algorithms/centrality/closeness.py
@@ -29,7 +29,7 @@ def closeness_centrality(
29
if G.is_directed():
30
G = G.reverse() # create a reversed graph view
31
32
- A = nxp.floyd_warshall(G, blocking_factor=blocking_factor)
+ A = nxp.floyd_warshall(G, weight=distance, blocking_factor=blocking_factor)
33
len_G = len(G)
34
35
key_value_pair = Parallel(n_jobs=-1)(
0 commit comments