summaryrefslogtreecommitdiff
path: root/src/theory/arith/constraint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/constraint.cpp')
-rw-r--r--src/theory/arith/constraint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/constraint.cpp b/src/theory/arith/constraint.cpp
index c1db8e55a..02580083b 100644
--- a/src/theory/arith/constraint.cpp
+++ b/src/theory/arith/constraint.cpp
@@ -1081,7 +1081,7 @@ TrustNode Constraint::split()
Node lemma = NodeBuilder<3>(OR) << leqNode << geqNode;
TrustNode trustedLemma;
- if (options::proofNew())
+ if (d_database->isProofEnabled())
{
// Farkas proof that this works.
auto nm = NodeManager::currentNM();
@@ -2068,7 +2068,7 @@ void ConstraintDatabase::proveOr(std::vector<TrustNode>& out,
Node la = a->getLiteral();
Node lb = b->getLiteral();
Node orN = (la < lb) ? la.orNode(lb) : lb.orNode(la);
- if (options::proofNew())
+ if (isProofEnabled())
{
Assert(b->getNegation()->getType() != ConstraintType::Disequality);
auto nm = NodeManager::currentNM();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback