diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-22 18:02:01 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-22 18:02:01 +0000 |
commit | 11cb621b7fde60a17386b7da4e383bc15e71ab27 (patch) | |
tree | 721a9616ae10d9cc7d7b9bae3e975c0adce5fb72 /src/smt | |
parent | c2cf1a6aafd516759a3f6a43d91222a97fcfe8f7 (diff) |
comment out the "interactive" check in SmtEngine::getValue() for now (resolves bug 224), and fix a comment in NodeManager header
Diffstat (limited to 'src/smt')
-rw-r--r-- | src/smt/smt_engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index d76a002e7..149c3620d 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -490,11 +490,13 @@ Expr SmtEngine::getValue(const Expr& e) Assert(e.getExprManager() == d_exprManager); Type type = e.getType(d_typeChecking);// ensure expr is type-checked at this point Debug("smt") << "SMT getValue(" << e << ")" << endl; + /* FIXME - for SMT-LIBv2 compliance, we need to check this ?! if(!d_interactive) { const char* msg = "Cannot get value when not in interactive mode."; throw ModalException(msg); } + */ if(!d_produceModels) { const char* msg = "Cannot get value when produce-models options is off."; |