diff options
author | Guy <katz911@gmail.com> | 2016-07-15 16:53:54 -0700 |
---|---|---|
committer | Guy <katz911@gmail.com> | 2016-07-15 16:53:54 -0700 |
commit | c508e78395491bc5055e77169d39a97b5e6c8a5a (patch) | |
tree | ee435a1c0b39b8f9afbcab3aa492f288d60c72de /src/proof | |
parent | 378475e685d514ec47347a9f27a2825391f9b207 (diff) |
Moved the assertion to a better spot
Diffstat (limited to 'src/proof')
-rw-r--r-- | src/proof/proof_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proof/proof_manager.cpp b/src/proof/proof_manager.cpp index 43328e1de..9b3d9a289 100644 --- a/src/proof/proof_manager.cpp +++ b/src/proof/proof_manager.cpp @@ -69,7 +69,6 @@ ProofManager::~ProofManager() { } ProofManager* ProofManager::currentPM() { - Assert(PROOF_ON(), "Cannot call ProofManager when proofs are off"); return smt::currentProofManager(); } @@ -294,6 +293,8 @@ void ProofManager::traceUnsatCore() { } void ProofManager::getLemmasInUnsatCore(theory::TheoryId theory, std::vector<Node> &lemmas) { + Assert(PROOF_ON(), "Cannot compute unsat core when proofs are off"); + d_satProof->constructProof(); IdToSatClause used_lemmas; |