summaryrefslogtreecommitdiff
path: root/src/theory/model.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-27 02:13:38 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-27 02:13:38 +0000
commitb122cec27ca27d0b48e786191448e0053be78ed0 (patch)
tree615981d8623e830894f02fc528b173ac7461f934 /src/theory/model.cpp
parent3da16da97df7cd2efd4b113db3bfef8b9c138ebe (diff)
Tuples and records merge. Resolves bug 270.
Also some fixes to parametric datatypes I found, and fixes for a handful of bugs, including some observed with --check-models --incremental on together. (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/theory/model.cpp')
-rw-r--r--src/theory/model.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/model.cpp b/src/theory/model.cpp
index 8dacf86e9..66f0c8824 100644
--- a/src/theory/model.cpp
+++ b/src/theory/model.cpp
@@ -17,6 +17,7 @@
#include "theory/theory_engine.h"
#include "theory/type_enumerator.h"
#include "smt/options.h"
+#include "smt/smt_engine.h"
#include "theory/uf/theory_uf_model.h"
using namespace std;
@@ -56,7 +57,7 @@ Node TheoryModel::getValue( TNode n ) const{
Expr TheoryModel::getValue( Expr expr ) const{
Node n = Node::fromExpr( expr );
Node ret = getValue( n );
- return ret.toExpr();
+ return d_smt.postprocess(ret).toExpr();
}
/** get cardinality for sort */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback