summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index ce3ccebf3..c0aa58647 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -53,6 +53,7 @@ using namespace CVC4::theory;
void TheoryEngine::finishInit() {
if (d_logicInfo.isQuantified()) {
+ d_quantEngine->finishInit();
Assert(d_masterEqualityEngine == 0);
d_masterEqualityEngine = new eq::EqualityEngine(d_masterEENotify,getSatContext(), "theory::master");
@@ -70,6 +71,9 @@ void TheoryEngine::eqNotifyNewClass(TNode t){
void TheoryEngine::eqNotifyPreMerge(TNode t1, TNode t2){
//TODO: add notification to efficient E-matching
+ if (d_logicInfo.isQuantified()) {
+ d_quantEngine->getEfficientEMatcher()->merge( t1, t2 );
+ }
}
void TheoryEngine::eqNotifyPostMerge(TNode t1, TNode t2){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback