Skip to content

Commit d5873ec

Browse files
committed
Contributes to TheAlgorithms#9943 (updated)
1 parent 472e77e commit d5873ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphs/graphs_floyd_warshall.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _print_dist(dist, v):
1818

1919
def floyd_warshall(graph, v):
2020
"""
21-
Computes the shortest paths in a weighted graph with positive or negative edge weights (but with no negative cycles).
21+
Computes the shortest paths in a weighted graph.
2222
2323
:param graph: 2D list where each element represents the weight from i to j.
2424
:type graph: List[List[float]]

0 commit comments

Comments
 (0)