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()) {
}
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;
}
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;