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/theory_model.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/theory_model.cpp')
-rw-r--r-- | src/theory/theory_model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp index 70f46d6e5..4c7600da2 100644 --- a/src/theory/theory_model.cpp +++ b/src/theory/theory_model.cpp @@ -174,7 +174,7 @@ bool TheoryModel::isModelCoreSymbol(Expr sym) const Expr TheoryModel::getValue( Expr expr ) const{ Node n = Node::fromExpr( expr ); Node ret = getValue( n ); - return d_smt.postprocess(ret, TypeNode::fromType(expr.getType())).toExpr(); + return ret.toExpr(); } /** get cardinality for sort */ |