jshun/ligra — pull request #2 by grtkachenko (2014-11-18 21:31:09+00:00)
Title: Small fix in Bellman Ford

Consider graph
2 2
0 1 1
1 0 1

In your previous implementation you'll pass inside if statement ("if(round == n)") and you'll consider the graph to have negative weight cycle.