summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-03-05 15:12:57 -0600
committerGitHub <noreply@github.com>2020-03-05 15:12:57 -0600
commitbbba915f44f9e75eaa6238a10ba667643dacb00b (patch)
tree981c352e9aae8c96539374e98065101ee3835b28 /src/theory/theory_engine.cpp
parentd26ee67911fedfef966a0e4d64ffda02007d65a0 (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