GraphChi/graphchi-cpp — pull request #19 by WillSewell (2014-04-11 14:51:40+00:00)
Title: Fixed underflow bug when checking max buffer.

When running tests I found that "last_commit" could become larger than "added_edges", thus causing an underflow and meaning that the result of the subtraction would always be larger than "1.2 * max_edge_buffer".

I added in the simple inequality check, but I'm not sure if this is a symptom of a deeper problem.