From be8432c38eb272974b539d83a990f346960fa979 Mon Sep 17 00:00:00 2001 From: Sameer Ahmed Khan <68906588+sameerahmedk@users.noreply.github.com> Date: Wed, 3 Feb 2021 14:02:25 +0500 Subject: [PATCH] Fixes: #2057 (#2086) 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 b817b6dc..7c848b68 100644 --- a/DataStructures/Graphs/BellmanFord.java +++ b/DataStructures/Graphs/BellmanFord.java @@ -150,7 +150,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number * @param y End vertex * @param z Weight */ - public void addEdge(int x, int y, int z) // Adds unidirectionl Edge + public void addEdge(int x, int y, int z) // Adds unidirectional edge { edges[index++] = new Edge(x, y, z); }