summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-07-06 20:32:48 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-07-06 20:50:16 -0400
commit446cba594a8b26c03aabb2385b18c2ccad637f2f (patch)
treeae7cb8132f19562cdcd8340d579aaf1384a6d2d7 /src/smt/smt_engine.h
parent7e1aae3dc746f4b7df2f65fb373ffc26e1a0498a (diff)
Model output is now const; this related to bug 519
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r--src/smt/smt_engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index 1b5af415f..a45fe3383 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -249,7 +249,7 @@ class CVC4_PUBLIC SmtEngine {
* like turning datatypes back into tuples, length-1-bitvectors back
* into booleans, etc.
*/
- Node postprocess(TNode n, TypeNode expectedType);
+ Node postprocess(TNode n, TypeNode expectedType) const;
/**
* This is something of an "init" procedure, but is idempotent; call
@@ -444,7 +444,7 @@ public:
* by a SAT or INVALID query). Only permitted if the SmtEngine is
* set to operate interactively and produce-models is on.
*/
- Expr getValue(const Expr& e) throw(ModalException, TypeCheckingException, LogicException);
+ Expr getValue(const Expr& e) const throw(ModalException, TypeCheckingException, LogicException);
/**
* Add a function to the set of expressions whose value is to be
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback