Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Schefflera-Arboricola committed Feb 13, 2024
1 parent 8a10610 commit 74d76c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nx_parallel/algorithms/centrality/reaching.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def global_reaching_centrality(G, weight=None, normalized=True):
"""The parallel computation is implemented by running the `local_reaching_centrality`
for each (`node`, `paths`) pairs in `shortest_paths` dictionary in parallel.
networkx.global_reaching_centrality : https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.centrality.global_reaching_centrality.html#networkx.algorithms.centrality.global_reaching_centrality"""

if hasattr(G, "graph_object"):
Expand Down Expand Up @@ -46,7 +46,7 @@ def as_distance(u, v, d):
def local_reaching_centrality(G, v, paths=None, weight=None, normalized=True):
"""The parallel computation is implemented by computing the `_average_weight`
for all paths in `shortest_path` dictionary in parallel.
networkx.local_reaching_centrality : https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.centrality.local_reaching_centrality.html#networkx.algorithms.centrality.local_reaching_centrality"""

if hasattr(G, "graph_object"):
Expand Down

0 comments on commit 74d76c3

Please sign in to comment.