diff options
author | Alex Ozdemir <aozdemir@hmc.edu> | 2020-03-16 12:34:41 -0700 |
---|---|---|
committer | Alex Ozdemir <aozdemir@hmc.edu> | 2020-03-16 16:52:50 -0700 |
commit | 3dc80e17818632e1dd4fd65e64c302d944b23db9 (patch) | |
tree | a0a3bb455fac513300021186f1ca4007f3dab880 | |
parent | cbce537b4ebc22bc929b52115a5686ea1deeff26 (diff) |
Fix simplicity check in prop
-rw-r--r-- | src/theory/arith/theory_arith_private.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |