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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/arith/constraint.cpp b/src/theory/arith/constraint.cpp
index f1cac9044..4acf86d43 100644
--- a/src/theory/arith/constraint.cpp
+++ b/src/theory/arith/constraint.cpp
@@ -615,10 +615,10 @@ bool Constraint::wellFormedFarkasProof() const {
ConstraintCP antecedent = d_database->d_antecedents[p];
if(antecedent == NullConstraint) { return false; }
-#ifdef CVC4_PROOF
+#if IS_PROOFS_BUILD
if(!PROOF_ON()){ return cr.d_farkasCoefficients == RationalVectorCPSentinel; }
Assert(PROOF_ON());
-
+
if(cr.d_farkasCoefficients == RationalVectorCPSentinel){ return false; }
if(cr.d_farkasCoefficients->size() < 2){ return false; }
@@ -717,9 +717,9 @@ bool Constraint::wellFormedFarkasProof() const {
(lhs.isNull() || Constant::isMember(lhs) && Constant(lhs).isZero() ) &&
rhs.sgn() < 0;
-#else
+#else /* IS_PROOFS_BUILD */
return true;
-#endif
+#endif /* IS_PROOFS_BUILD */
}
ConstraintP Constraint::makeNegation(ArithVar v, ConstraintType t, const DeltaRational& r){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback