From f01de409deb458e28539782f6b68bf637a506183 Mon Sep 17 00:00:00 2001 From: "Ajmera, Mahita SI/HZR-IDSA" Date: Thu, 17 Oct 2024 11:31:28 +0200 Subject: [PATCH] fixing 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 b65b68cbe..33a99fc88 100644 --- a/graphs/graphs_floyd_warshall.py +++ b/graphs/graphs_floyd_warshall.py @@ -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 """