X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=mtp_graph.cc;h=7781fc10e8923828c1ac2787955ea399856d12c7;hb=f988e5f5189924bfb8522969f8b2b42262981b0f;hp=95ef485d5166579153e68209dd90a97ab5b1b76c;hpb=342c65f1c9deda8de361227afe26c7cd8b46d7c2;p=mtp.git diff --git a/mtp_graph.cc b/mtp_graph.cc index 95ef485..7781fc1 100644 --- a/mtp_graph.cc +++ b/mtp_graph.cc @@ -315,9 +315,9 @@ void MTPGraph::find_best_paths(scalar_t *lengths) { // Let's be a bit paranoid ASSERT(is_dag()); - // We use call find_shortest_path here to set properly the distance, - // so that we can make all the edge lengths positive at the first - // iteration. + // We call find_shortest_path here to set properly the distances to + // the source, so that we can make all the edge lengths positive at + // the first iteration. find_shortest_path(); do {