From 4d64921e7c090faa041ad9185aaa23543cee3983 Mon Sep 17 00:00:00 2001 From: EricVincon Date: Wed, 18 Sep 2024 15:02:07 -0300 Subject: [PATCH] =?UTF-8?q?=C2=A8a=C2=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/algorithms/graph/bellman-ford/bellmanFord.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/graph/bellman-ford/bellmanFord.js b/src/algorithms/graph/bellman-ford/bellmanFord.js index 70e811d9..97b3f785 100644 --- a/src/algorithms/graph/bellman-ford/bellmanFord.js +++ b/src/algorithms/graph/bellman-ford/bellmanFord.js @@ -7,7 +7,7 @@ export default function bellmanFord(graph, startVertex) { const distances = {}; const previousVertices = {}; - // Init all distances with infinity assuming that currently we can't reach + // Init all distances with infinity assuming that currently we can't reach__ // any of the vertices except start one. distances[startVertex.getKey()] = 0; graph.getAllVertices().forEach((vertex) => {