summaryrefslogtreecommitdiff
path: root/test/unit/prop
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 /test/unit/prop
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 'test/unit/prop')
-rw-r--r--test/unit/prop/cnf_stream_black.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/prop/cnf_stream_black.h b/test/unit/prop/cnf_stream_black.h
index 7258e630d..d2f86d969 100644
--- a/test/unit/prop/cnf_stream_black.h
+++ b/test/unit/prop/cnf_stream_black.h
@@ -30,6 +30,7 @@
#include "prop/prop_engine.h"
#include "prop/sat.h"
#include "smt/smt_engine.h"
+#include "theory/registrar.h"
using namespace CVC4;
using namespace CVC4::context;
@@ -91,7 +92,7 @@ void setUp() {
d_context = new Context;
d_nodeManager = new NodeManager(d_context);
d_satSolver = new FakeSatSolver;
- d_cnfStream = new CVC4::prop::TseitinCnfStream(d_satSolver);
+ d_cnfStream = new CVC4::prop::TseitinCnfStream(d_satSolver, theory::Registrar());
}
void tearDown() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback