diff options
Diffstat (limited to 'test/unit/prop/cnf_stream_white.h')
-rw-r--r-- | test/unit/prop/cnf_stream_white.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/prop/cnf_stream_white.h b/test/unit/prop/cnf_stream_white.h index 7e04bb7c5..35eb240a2 100644 --- a/test/unit/prop/cnf_stream_white.h +++ b/test/unit/prop/cnf_stream_white.h @@ -136,6 +136,10 @@ class CnfStreamWhite : public CxxTest::TestSuite { d_nodeManager = NodeManager::fromExprManager(d_exprManager); d_scope = new SmtScope(d_smt); + // Notice that this unit test uses the theory engine of a created SMT + // engine d_smt. We must ensure that d_smt is properly initialized via + // the following call, which constructs its underlying theory engine. + d_smt->finalOptionsAreSet(); d_theoryEngine = d_smt->d_theoryEngine; d_satSolver = new FakeSatSolver(); |