diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-09-04 17:53:30 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-09-04 17:53:38 +0200 |
commit | d3c365a60c88e33a7d73f81484db2cff5ef69bbb (patch) | |
tree | 0b2779b9a69b6f855a01a4f22e3082e2f5faabd8 /src/smt/smt_engine.cpp | |
parent | 711815d937db09aeb7e8fa568718768113ef7176 (diff) |
Fix bugs 605 and 667.
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r-- | src/smt/smt_engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index be3df349a..5c6d028e5 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -3835,6 +3835,8 @@ Node SmtEngine::postprocess(TNode node, TypeNode expectedType) const { Debug("boolean-terms") << "postproc: got " << value << " expect type " << expectedType << endl; Node realValue = mpost.rewriteAs(value, expectedType); Debug("boolean-terms") << "postproc: realval " << realValue << " expect type " << expectedType << endl; + realValue = Rewriter::rewrite(realValue); + Debug("boolean-terms") << "postproc: after rewrite " << realValue << endl; return realValue; } @@ -4287,6 +4289,7 @@ void SmtEngine::checkModel(bool hardFailure) { // In case it's a quantifier (or contains one), look up its value before // simplifying, or the quantifier might be irreparably altered. n = m->getValue(n); + Notice() << "SmtEngine::checkModel(): -- get value : " << n << std::endl; } else { // Note this "skip" is done here, rather than above. This is // because (1) the quantifier could in principle simplify to false, |