From d1e75019a7b0419ec4cf17444e457690afb131de Mon Sep 17 00:00:00 2001 From: Sameer Ahmed Khan <68906588+sameerahmedk@users.noreply.github.com> Date: Wed, 3 Feb 2021 16:21:02 +0500 Subject: [PATCH] FIXES: #2056 (#2085) Fixed typo --- DataStructures/Graphs/BellmanFord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataStructures/Graphs/BellmanFord.java b/DataStructures/Graphs/BellmanFord.java index 7c848b682..1399e4f37 100644 --- a/DataStructures/Graphs/BellmanFord.java +++ b/DataStructures/Graphs/BellmanFord.java @@ -87,7 +87,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number System.out.println("Negative cycle"); break; } - if (neg == 0) // Go ahead and show results of computaion + if (neg == 0) // Go ahead and show results of computation { System.out.println("Distances are: "); for (i = 0; i < v; i++) System.out.println(i + " " + dist[i]);