From e1ad21cd6a4e0caa76684567606d29bb337c7fe3 Mon Sep 17 00:00:00 2001 From: "Ajmera, Mahita SI/HZR-IDSA" Date: Thu, 17 Oct 2024 10:42:14 +0200 Subject: [PATCH] editing doctest --- graphs/graphs_floyd_warshall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphs/graphs_floyd_warshall.py b/graphs/graphs_floyd_warshall.py index c2259eee7..77c69d7b1 100644 --- a/graphs/graphs_floyd_warshall.py +++ b/graphs/graphs_floyd_warshall.py @@ -49,13 +49,13 @@ def floyd_warshall(graph, v): ... [float('inf'), float('inf'), 0] ... ] >>> dist, _ = floyd_warshall(graph, num_vertices) - >>> dist == expected The shortest path matrix using Floyd Warshall algorithm 0 2 INF 1 0 INF INF INF 0 + >>> dist == expected True """