fixing doctest

This commit is contained in:
Ajmera, Mahita SI/HZR-IDSA 2024-10-17 11:31:28 +02:00
parent 8be7753175
commit f01de409de

View File

@ -44,7 +44,7 @@ def floyd_warshall(graph, v):
... [2, 0, float('inf')],
... [9, 7, 0]
... ]
>>> dist, _ = floyd_warshall(graph, num_vertices)
>>> dist, _ = floyd_warshall(graph, 3)
>>> dist == expected
True
"""