From 3dc80e17818632e1dd4fd65e64c302d944b23db9 Mon Sep 17 00:00:00 2001 From: Alex Ozdemir Date: Mon, 16 Mar 2020 12:34:41 -0700 Subject: [PATCH] Fix simplicity check in prop --- src/theory/arith/theory_arith_private.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theory/arith/theory_arith_private.cpp b/src/theory/arith/theory_arith_private.cpp index fb71bb1b1..54bac3e26 100644 --- a/src/theory/arith/theory_arith_private.cpp +++ b/src/theory/arith/theory_arith_private.cpp @@ -4954,7 +4954,7 @@ bool TheoryArithPrivate::rowImplicationCanBeApplied(RowIndex ridx, bool rowUp, C Assert(coeffs != RationalVectorPSentinel); Assert(conflictInFarkasCoefficientOrder.getNumChildren() == coeffs->size()); - if (implied->hasSimpleFarkasProof()) + if (std::all_of(explain.begin(), explain.end(), [](ConstraintCP c) { return c->isAssumption() || c->hasIntTightenProof(); })) { d_containing.d_proofRecorder->saveFarkasCoefficients( conflictInFarkasCoefficientOrder, coeffs); -- 2.30.2