diff options
author | Tim King <taking@cs.nyu.edu> | 2010-05-19 21:20:54 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2010-05-19 21:20:54 +0000 |
commit | ff70395fd3dcde9f68eda1c6a8bd70e6491f7458 (patch) | |
tree | d0cf52a5e6cb98a0aa6c15ca4c4fe4d258cb626f /src/theory/arith/tableau.h | |
parent | 07e1a1668a27e90563f23bcf5abb5cb7fe30da86 (diff) |
Significant revision to theory/arith. The new draft has a lot of small bug fixes and organizational changes. The theory is now enabled to perform checking in the TheoryEngine. This draft can now solve 2 new regression tests test/regress/regress0/ineq_slack.smt and test/regress/regress0/ineq_basic.smt. There is also a small bug fix inside src/expr/attribute.h.
Diffstat (limited to 'src/theory/arith/tableau.h')
-rw-r--r-- | src/theory/arith/tableau.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/tableau.h b/src/theory/arith/tableau.h index 10daa0c13..2ab94c195 100644 --- a/src/theory/arith/tableau.h +++ b/src/theory/arith/tableau.h @@ -196,7 +196,8 @@ public: //Assert(isAdmissableVariable(var)); Assert(var.getAttribute(IsBasic())); - Assert(d_basicVars.find(var) != d_basicVars.end()); + //The new basic variable cannot already be a basic variable + Assert(d_basicVars.find(var) == d_basicVars.end()); d_basicVars.insert(var); d_rows[var] = new Row(var,sum); } |