From 446cba594a8b26c03aabb2385b18c2ccad637f2f Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Sat, 6 Jul 2013 20:32:48 -0400 Subject: Model output is now const; this related to bug 519 --- src/smt/smt_engine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/smt/smt_engine.h') 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 -- cgit v1.2.3