Skip to content

Commit dd01b35

Browse files
chore: fix typos in src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java (#7025)
Fix typos in src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java Co-authored-by: a <[email protected]>
1 parent 19f0f0b commit dd01b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void show(int source, int end,
160160
break;
161161
}
162162
}
163-
if (neg == 0) { // Go ahead and show results of computaion
163+
if (neg == 0) { // Go ahead and show results of computation
164164
System.out.println("Distance is: " + dist[end]);
165165
System.out.println("Path followed:");
166166
System.out.print(source + " ");

0 commit comments

Comments
 (0)