summaryrefslogtreecommitdiff
path: root/src/theory/theory_model.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-09-16 15:36:12 -0500
committerGitHub <noreply@github.com>2019-09-16 15:36:12 -0500
commit558baff63737f1441776ea69b893754ea02f680b (patch)
treeee61f63bf76a8ea2c83e4b6b6ed3fd74bb5910eb /src/theory/theory_model.cpp
parentf6cfc98f37bf92ccbf11aad20c1419071d8704f8 (diff)
Fix HO model construction for functions having Boolean arguments (#3158)
Diffstat (limited to 'src/theory/theory_model.cpp')
-rw-r--r--src/theory/theory_model.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp
index 168dc4c62..e0798aa3c 100644
--- a/src/theory/theory_model.cpp
+++ b/src/theory/theory_model.cpp
@@ -592,6 +592,8 @@ void TheoryModel::assignFunctionDefinition( Node f, Node f_def ) {
if( options::ufHo() ){
//we must rewrite the function value since the definition needs to be a constant value
f_def = Rewriter::rewrite( f_def );
+ Trace("model-builder-debug")
+ << "Model value (post-rewrite) : " << f_def << std::endl;
Assert( f_def.isConst() );
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback