diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-11-25 23:03:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 23:03:11 -0600 |
commit | c41a2e9be2422a211b9687833c97ba37485cd946 (patch) | |
tree | 6e7f88a41d6bbb2581762de203f66086fe16ed49 /src/api | |
parent | d0c352ec04846353d630073e78e5b2fea92133c2 (diff) |
Fully decouple SmtEngine and the Expr layer (#5532)
This removes the remaining dependencies of SmtEngine on the Expr layer. It now takes a NodeManager instead of a ExprManager.
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/cvc4cpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/cvc4cpp.cpp b/src/api/cvc4cpp.cpp index 9b79b5c45..5eabcfe62 100644 --- a/src/api/cvc4cpp.cpp +++ b/src/api/cvc4cpp.cpp @@ -3093,7 +3093,7 @@ size_t RoundingModeHashFunction::operator()(const RoundingMode& rm) const Solver::Solver(Options* opts) { d_exprMgr.reset(new ExprManager); - d_smtEngine.reset(new SmtEngine(d_exprMgr.get(), opts)); + d_smtEngine.reset(new SmtEngine(d_exprMgr->getNodeManager(), opts)); d_smtEngine->setSolver(this); Options& o = d_smtEngine->getOptions(); d_rng.reset(new Random(o[options::seed])); |