[PPL-devel] [GIT] ppl/ppl(master): Corrected typo in test19().
Enea Zaffanella
zaffanella at cs.unipr.it
Tue Mar 2 00:00:31 CET 2010
Module: ppl/ppl
Branch: master
Commit: 893ad34ee7a5e376f94cd8ef7a49168c30021dd7
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=893ad34ee7a5e376f94cd8ef7a49168c30021dd7
Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date: Mon Mar 1 23:57:03 2010 +0100
Corrected typo in test19().
---
tests/PIP_Problem/pipproblem1.cc | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/PIP_Problem/pipproblem1.cc b/tests/PIP_Problem/pipproblem1.cc
index ed1783d..b10b076 100644
--- a/tests/PIP_Problem/pipproblem1.cc
+++ b/tests/PIP_Problem/pipproblem1.cc
@@ -545,7 +545,6 @@ test19() {
cs.insert(3*j >= -2*i+8);
cs.insert(j <= 4*i - 4);
cs.insert(j <= m);
- //cs.insert(j >= 0);
cs.insert(i <= n);
PIP_Problem pip(cs.space_dimension(), cs.begin(), cs.end(), params);
@@ -557,7 +556,7 @@ test19() {
pip.print_solution(nout);
}
- cs.insert(n <= 1);
+ pip.add_constraint(n <= 1);
ok &= (pip.solve() == UNFEASIBLE_PIP_PROBLEM);
return ok;
@@ -584,5 +583,5 @@ BEGIN_MAIN
DO_TEST(test16);
DO_TEST(test17);
DO_TEST(test18);
- DO_TEST_F(test19);
+ DO_TEST_F8(test19);
END_MAIN
More information about the PPL-devel
mailing list