summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2020-03-05 13:21:43 -0800
committerAina Niemetz <aina.niemetz@gmail.com>2020-03-05 13:21:43 -0800
commit50f82fac417bc5b27ecaeb34d4e8034339c5982f (patch)
tree981c352e9aae8c96539374e98065101ee3835b28 /src/theory/theory_engine.cpp
parenta4151cb6755b9267cb90f7facc0ffd367aa7f0f2 (diff)
Move ownership of DecisionEngine into PropEngine. (#3850)
This is in preparation of fixing the issue we currently have with reset-assertions. This also removes a competition hack for QF_LRA.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index a39c014a6..60ad00fc5 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -315,7 +315,6 @@ TheoryEngine::TheoryEngine(context::Context* context,
RemoveTermFormulas& iteRemover,
const LogicInfo& logicInfo)
: d_propEngine(nullptr),
- d_decisionEngine(nullptr),
d_context(context),
d_userContext(userContext),
d_logicInfo(logicInfo),
@@ -1924,8 +1923,9 @@ theory::LemmaStatus TheoryEngine::lemma(TNode node,
}
// assert to decision engine
- if(!removable) {
- d_decisionEngine->addAssertions(additionalLemmas);
+ if (!removable)
+ {
+ d_propEngine->addAssertionsToDecisionEngine(additionalLemmas);
}
// Mark that we added some lemmas
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback