summaryrefslogtreecommitdiff
path: root/src/prop/prop_engine.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2011-04-04 20:42:23 +0000
committerTim King <taking@cs.nyu.edu>2011-04-04 20:42:23 +0000
commit41dddac33ba0332a2ab52983b94044cbdc9e762e (patch)
tree21c938e9fc5c8967e34e087293d441821ab19fd6 /src/prop/prop_engine.cpp
parent2935af06e3fae46418c10450df9e02465f0a8038 (diff)
Merging the satliteral-before-prereg branch into trunk. Theory preregistration is now called during the conversion to cnf. This fixes bug 257.
Diffstat (limited to 'src/prop/prop_engine.cpp')
-rw-r--r--src/prop/prop_engine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prop/prop_engine.cpp b/src/prop/prop_engine.cpp
index 4da3aa842..84e51d1d9 100644
--- a/src/prop/prop_engine.cpp
+++ b/src/prop/prop_engine.cpp
@@ -21,6 +21,7 @@
#include "sat.h"
#include "theory/theory_engine.h"
+#include "theory/registrar.h"
#include "util/Assert.h"
#include "util/options.h"
#include "util/output.h"
@@ -62,7 +63,8 @@ PropEngine::PropEngine(TheoryEngine* te, Context* context) :
d_context(context) {
Debug("prop") << "Constructing the PropEngine" << endl;
d_satSolver = new SatSolver(this, d_theoryEngine, d_context);
- d_cnfStream = new CVC4::prop::TseitinCnfStream(d_satSolver);
+ theory::Registrar reg(d_theoryEngine);
+ d_cnfStream = new CVC4::prop::TseitinCnfStream(d_satSolver, reg);
d_satSolver->setCnfStream(d_cnfStream);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback