Fixed typo
This commit is contained in:
Sameer Ahmed Khan
2021-02-03 16:21:02 +05:00
committed by GitHub
parent b8c1177bc8
commit d1e75019a7

View File

@ -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]);