summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-22 18:02:01 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-22 18:02:01 +0000
commit11cb621b7fde60a17386b7da4e383bc15e71ab27 (patch)
tree721a9616ae10d9cc7d7b9bae3e975c0adce5fb72 /src/smt
parentc2cf1a6aafd516759a3f6a43d91222a97fcfe8f7 (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.cpp2
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.";
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback