Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 05e81d5

Browse files
author
Ajmera, Mahita SI/HZR-IDSA
committedOct 17, 2024·
fixing doctests
1 parent be16a1e commit 05e81d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎graphs/graphs_floyd_warshall.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def floyd_warshall(graph, v):
4848
>>> dist, _ = floyd_warshall(graph, 3)
4949
The shortest path matrix using Floyd Warshall algorithm
5050
<BLANKLINE>
51-
0 3 INF
52-
2 0 INF
53-
9 7 0
51+
0 3 INF
52+
2 0 INF
53+
9 7 0
5454
>>> dist == expected
5555
True
5656
"""

0 commit comments

Comments
 (0)
Please sign in to comment.