projects
/
mtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e285985
)
Added a comment.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 4 Jan 2013 16:34:41 +0000
(17:34 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 4 Jan 2013 16:34:41 +0000
(17:34 +0100)
mtp_graph.cc
patch
|
blob
|
history
diff --git
a/mtp_graph.cc
b/mtp_graph.cc
index
6fb3877
..
a7b942d
100644
(file)
--- a/
mtp_graph.cc
+++ b/
mtp_graph.cc
@@
-457,6
+457,9
@@
void MTPGraph::compute_dp_ordering() {
}
while(already_processed < front) {
+ // Here, nodes before already_processed can be ignored, nodes
+ // before front were set to 0 predecessors during the previous
+ // iteration. We will add the
new_front = front;
while(already_processed < front) {
v = *(already_processed++);