Skip to content

Commit 912be91

Browse files
authored
Fixed Spelling error. See issue TheAlgorithms#2055 (TheAlgorithms#2083)
Corrected 'distance' spelling in line 51.
1 parent d1e7501 commit 912be91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataStructures/Graphs/BellmanFord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void main(String args[]) {
4848

4949
public void
5050
go() // Interactive run for understanding the class first time. Assumes source vertex is 0 and
51-
// shows distaance to all vertices
51+
// shows distance to all vertices
5252
{
5353
Scanner sc = new Scanner(System.in); // Grab scanner object for user input
5454
int i, v, e, u, ve, w, j, neg = 0;

0 commit comments

Comments
 (0)