X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=mtp_graph.cc;fp=mtp_graph.cc;h=e69d4d675a6bdd170e81d5819c9035ddbd0c4710;hp=2abe52b543fe9b6190c47d6da55f678af66bcd0d;hb=cbe26b67e99f4151dec8cb088e6bfd5561dad7eb;hpb=656afdeaf084a2b7d173f3710678d0c9bb0cc90a diff --git a/mtp_graph.cc b/mtp_graph.cc index 2abe52b..e69d4d6 100644 --- a/mtp_graph.cc +++ b/mtp_graph.cc @@ -461,7 +461,7 @@ void MTPGraph::compute_dp_ordering() { // before front were set to 0 predecessors during the previous // iteration. During this new iteration, we have to visit the // successors of these ones only, since they are the only ones - // potentially having now predecessors anymore. + // which may end up with no predecessors. new_front = front; while(already_processed < front) { v = *(already_processed++);