summaryrefslogtreecommitdiff
path: root/src/theory/smt_engine_subsolver.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-08-06 08:29:17 -0500
committerGitHub <noreply@github.com>2020-08-06 08:29:17 -0500
commit956ffda5632b388a887003a5e030696091339bd2 (patch)
tree130b34e344ad9fa072d5c388132da0c5d0105c05 /src/theory/smt_engine_subsolver.cpp
parent77e98815254c68301ffcd7fb8addeb6751c51187 (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.cpp4
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;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback