summaryrefslogtreecommitdiff
path: root/src/theory/arith/theory_arith.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-30 23:20:49 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-30 23:20:49 +0000
commitf95c6698e5d57b7142b76f29e977168b5bb5ac8c (patch)
tree9f1b75d30cbe887982cc3dc1b3ee1d262b4d6bcd /src/theory/arith/theory_arith.cpp
parent89548ca600874468c68c0ebe67bec8efa7ecff31 (diff)
minor changes to arithmetic assertions involving nonlinearity and models (related to bug 405)
Diffstat (limited to 'src/theory/arith/theory_arith.cpp')
-rw-r--r--src/theory/arith/theory_arith.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index 2b0d9149d..17c2b51f3 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -1949,8 +1949,8 @@ bool TheoryArith::getDeltaAtomValue(TNode n) {
DeltaRational TheoryArith::getDeltaValue(TNode n) {
- Assert(d_qflraStatus != Result::SAT_UNKNOWN);
- Assert(!d_nlIncomplete);
+ AlwaysAssert(d_qflraStatus != Result::SAT_UNKNOWN);
+ AlwaysAssert(!d_nlIncomplete);
Debug("arith::value") << n << std::endl;
switch(n.getKind()) {
@@ -2007,8 +2007,8 @@ DeltaRational TheoryArith::getDeltaValue(TNode n) {
}
DeltaRational TheoryArith::getDeltaValueWithNonlinear(TNode n, bool& failed) {
- Assert(d_qflraStatus != Result::SAT_UNKNOWN);
- Assert(d_nlIncomplete);
+ AlwaysAssert(d_qflraStatus != Result::SAT_UNKNOWN);
+ AlwaysAssert(d_nlIncomplete);
Debug("arith::value") << n << std::endl;
@@ -2074,8 +2074,8 @@ DeltaRational TheoryArith::getDeltaValueWithNonlinear(TNode n, bool& failed) {
}
void TheoryArith::collectModelInfo( TheoryModel* m, bool fullModel ){
- Assert(d_qflraStatus == Result::SAT);
- Assert(!d_nlIncomplete);
+ AlwaysAssert(d_qflraStatus == Result::SAT);
+ AlwaysAssert(!d_nlIncomplete, "Arithmetic solver cannot currently produce models for input with nonlinear arithmetic constraints");
Debug("arith::collectModelInfo") << "collectModelInfo() begin " << endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback