[PPL-devel] [GIT] ppl/ppl(termination): Added a couple of missing constraints.

Roberto Bagnara bagnara at cs.unipr.it
Mon Mar 8 12:17:05 CET 2010


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

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Mon Mar  8 15:16:40 2010 +0400

Added a couple of missing constraints.

---

 tests/Polyhedron/termination1.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/Polyhedron/termination1.cc b/tests/Polyhedron/termination1.cc
index be706f7..4d2fb4e 100644
--- a/tests/Polyhedron/termination1.cc
+++ b/tests/Polyhedron/termination1.cc
@@ -35,6 +35,7 @@ test01() {
   ph.add_constraint(2*xp1 + 1 >= x1);
   ph.add_constraint(2*xp1 <= x1);
   ph.add_constraint(xp2 == x2 + 1);
+  ph.add_constraint(xp2 >= 1);
 
   C_Polyhedron mu_space;
   all_affine_ranking_functions_MS(ph, mu_space);
@@ -69,6 +70,7 @@ test02() {
   ph.add_constraint(2*xp1 + 1 >= x1);
   ph.add_constraint(2*xp1 <= x1);
   ph.add_constraint(xp2 == x2 + 1);
+  ph.add_constraint(xp2 >= 1);
 
   return termination_test_MS(ph);
 }




More information about the PPL-devel mailing list