diff options
Diffstat (limited to 'src/prop/theory_proxy.cpp')
-rw-r--r-- | src/prop/theory_proxy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prop/theory_proxy.cpp b/src/prop/theory_proxy.cpp index bf386fc0e..6ff2af527 100644 --- a/src/prop/theory_proxy.cpp +++ b/src/prop/theory_proxy.cpp @@ -96,8 +96,9 @@ void TheoryProxy::explainPropagation(SatLiteral l, SatClause& explanation) { theory::TrustNode tte = d_theoryEngine->getExplanation(lNode); Node theoryExplanation = tte.getNode(); - if (cvc5::options::produceProofs()) + if (options::produceProofs()) { + Assert(options::unsatCoresNew() || tte.getGenerator()); d_propEngine->getProofCnfStream()->convertPropagation(tte); } else if (options::unsatCores()) |