diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-09-30 23:20:49 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-09-30 23:20:49 +0000 |
commit | f95c6698e5d57b7142b76f29e977168b5bb5ac8c (patch) | |
tree | 9f1b75d30cbe887982cc3dc1b3ee1d262b4d6bcd | |
parent | 89548ca600874468c68c0ebe67bec8efa7ecff31 (diff) |
minor changes to arithmetic assertions involving nonlinearity and models (related to bug 405)
-rw-r--r-- | src/theory/arith/theory_arith.cpp | 12 |
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; |