From 05e81d572494f6fb4c18c5847ace4fc9ee131466 Mon Sep 17 00:00:00 2001 From: "Ajmera, Mahita SI/HZR-IDSA" Date: Thu, 17 Oct 2024 12:02:19 +0200 Subject: [PATCH] fixing doctests --- graphs/graphs_floyd_warshall.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphs/graphs_floyd_warshall.py b/graphs/graphs_floyd_warshall.py index c8d8315a2..9a5c88943 100644 --- a/graphs/graphs_floyd_warshall.py +++ b/graphs/graphs_floyd_warshall.py @@ -48,9 +48,9 @@ def floyd_warshall(graph, v): >>> dist, _ = floyd_warshall(graph, 3) The shortest path matrix using Floyd Warshall algorithm - 0 3 INF - 2 0 INF - 9 7 0 + 0 3 INF + 2 0 INF + 9 7 0 >>> dist == expected True """