summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/full_model_check.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2013-06-05 11:23:56 -0500
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2013-06-05 11:24:05 -0500
commit6edae99ca2d1af88ebe82256132d0d058913a13c (patch)
treec6d38cfffdb03fb0adb00625ea9696cceb5a2663 /src/theory/quantifiers/full_model_check.cpp
parent9dccea264f0b0ecd7edb21c392c1fc0c6741198d (diff)
Fix bug in --fmf-fmc for producing models of functions not appearing in quantified formulas.
Diffstat (limited to 'src/theory/quantifiers/full_model_check.cpp')
-rwxr-xr-xsrc/theory/quantifiers/full_model_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/full_model_check.cpp b/src/theory/quantifiers/full_model_check.cpp
index b16115749..2033797d5 100755
--- a/src/theory/quantifiers/full_model_check.cpp
+++ b/src/theory/quantifiers/full_model_check.cpp
@@ -201,7 +201,7 @@ void FullModelChecker::processBuildModel(TheoryModel* m, bool fullModel){
FirstOrderModelFmc * fm = ((FirstOrderModelFmc*)m)->asFirstOrderModelFmc();
if( fullModel ){
//make function values
- for( std::map< Node, std::vector< Node > >::iterator it = m->d_uf_terms.begin(); it != m->d_uf_terms.end(); ++it ){
+ for( std::map<Node, Def * >::iterator it = fm->d_models.begin(); it != fm->d_models.end(); ++it ){
m->d_uf_models[ it->first ] = getFunctionValue( fm, it->first, "$x" );
}
TheoryEngineModelBuilder::processBuildModel( m, fullModel );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback