diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-08-06 08:29:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 08:29:17 -0500 |
commit | 956ffda5632b388a887003a5e030696091339bd2 (patch) | |
tree | 130b34e344ad9fa072d5c388132da0c5d0105c05 /src/theory/smt_engine_subsolver.cpp | |
parent | 77e98815254c68301ffcd7fb8addeb6751c51187 (diff) |
Split preprocessor from SmtEngine (#4854)
This splits a collection of utilities from SmtEngine that work in cooperation to preprocess assertions (Boolean circuit propagator, preprocessing context, process assertions, term formula removal).
It updates various interfaces in SmtEngine from Expr -> Node and simplifies SmtEngine to use this utility.
Diffstat (limited to 'src/theory/smt_engine_subsolver.cpp')
-rw-r--r-- | src/theory/smt_engine_subsolver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/smt_engine_subsolver.cpp b/src/theory/smt_engine_subsolver.cpp index 2419962aa..8810acbe8 100644 --- a/src/theory/smt_engine_subsolver.cpp +++ b/src/theory/smt_engine_subsolver.cpp @@ -112,8 +112,8 @@ Result checkWithSubsolver(Node query, { for (const Node& v : vars) { - Expr val = smte->getValue(v.toExpr()); - modelVals.push_back(Node::fromExpr(val)); + Node val = smte->getValue(v); + modelVals.push_back(val); } } return r; |