projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
342c65f
)
Comment cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 28 Aug 2012 15:36:30 +0000
(17:36 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 28 Aug 2012 15:36:30 +0000
(17:36 +0200)
mtp_graph.cc
patch
|
blob
|
history
diff --git
a/mtp_graph.cc
b/mtp_graph.cc
index
95ef485
..
7781fc1
100644
(file)
--- 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 firs
t
- // 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 a
t
+ //
the first
iteration.
find_shortest_path();
do {