[PPL-devel] [GIT] ppl/ppl(master): Old FIXMEs dealt with.

Roberto Bagnara bagnara at cs.unipr.it
Sat Mar 10 17:41:26 CET 2012


Module: ppl/ppl
Branch: master
Commit: a00f2ac21655be81d14e14c0cbf2dad07bf3e28d
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=a00f2ac21655be81d14e14c0cbf2dad07bf3e28d

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Fri Mar  9 19:04:35 2012 +0100

Old FIXMEs dealt with.
Detected by ECLAIR service cmntdout.

---

 src/termination.cc |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/termination.cc b/src/termination.cc
index db33684..96e6ade 100644
--- a/src/termination.cc
+++ b/src/termination.cc
@@ -427,9 +427,7 @@ fill_constraint_system_PR(const Constraint_System& cs_before,
   for (dimension_type i = s + 2*r; i-- > 0; )
     cs_out.insert(Variable(i) >= 0);
 
-  // FIXME: iterate backwards once the debugging phase is over.
-  //for (dimension_type j = 2*n; j-- > 0; )
-  for (dimension_type j = 0; j < 2*n; ++j)
+  for (dimension_type j = 2*n; j-- > 0; )
     cs_out.insert(les_eq[j] == 0);
 }
 
@@ -479,9 +477,7 @@ fill_constraint_system_PR_original(const Constraint_System& cs,
   for (dimension_type i = 2*m; i-- > 0; )
     cs_out.insert(Variable(i) >= 0);
 
-  // FIXME: iterate backwards once the debugging phase is over.
-  //for (dimension_type j = 3*n; j-- > 0; )
-  for (dimension_type j = 0; j < 3*n; ++j)
+  for (dimension_type j = 3*n; j-- > 0; )
     cs_out.insert(les_eq[j] == 0);
 }
 




More information about the PPL-devel mailing list