projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ec84d
)
Minor fix for --no-condense-function-values
author
Morgan Deters
<mdeters@cs.nyu.edu>
Fri, 19 Jul 2013 15:13:40 +0000
(11:13 -0400)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Fri, 19 Jul 2013 15:13:40 +0000
(11:13 -0400)
src/theory/model.cpp
patch
|
blob
|
history
diff --git
a/src/theory/model.cpp
b/src/theory/model.cpp
index 234b137c8adbc0e564a16c45b64076984232aaaf..840c8bc3ac7ce929e42b5026a6763624c0d1bee2 100644
(file)
--- a/
src/theory/model.cpp
+++ b/
src/theory/model.cpp
@@
-53,8
+53,10
@@
Node TheoryModel::getValue(TNode n) const {
Node nn = d_substitutions.apply(n);
//get value in model
nn = getModelValue(nn);
- //normalize
- nn = Rewriter::rewrite(nn);
+ if(options::condenseFunctionValues() || nn.getKind() != kind::LAMBDA) {
+ //normalize
+ nn = Rewriter::rewrite(nn);
+ }
return nn;
}