diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-05 15:12:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 15:12:57 -0600 |
commit | bbba915f44f9e75eaa6238a10ba667643dacb00b (patch) | |
tree | 981c352e9aae8c96539374e98065101ee3835b28 /src/theory/theory_engine.cpp | |
parent | d26ee67911fedfef966a0e4d64ffda02007d65a0 (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.cpp | 6 |
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 |