diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-06-05 11:23:56 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-06-05 11:24:05 -0500 |
commit | 6edae99ca2d1af88ebe82256132d0d058913a13c (patch) | |
tree | c6d38cfffdb03fb0adb00625ea9696cceb5a2663 /src/theory/quantifiers/full_model_check.cpp | |
parent | 9dccea264f0b0ecd7edb21c392c1fc0c6741198d (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-x | src/theory/quantifiers/full_model_check.cpp | 2 |
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 );
|