From 909cc995bd58e58ac0243f4a5ed31f26e37b1d7c Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Tue, 31 Mar 2015 15:47:04 +0200 Subject: [PATCH] fixing bug in treatment of temporary terms for blocks with *.m files --- DynamicModel.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DynamicModel.cc b/DynamicModel.cc index 645fa646..1de6bc8c 100644 --- a/DynamicModel.cc +++ b/DynamicModel.cc @@ -187,6 +187,10 @@ DynamicModel::computeTemporaryTermsOrdered() it->second->collectTemporary_terms(temporary_terms, temporary_terms_in_use, block); for (derivative_t::const_iterator it = derivative_other_endo[block].begin(); it != derivative_other_endo[block].end(); it++) it->second->collectTemporary_terms(temporary_terms, temporary_terms_in_use, block); + for (derivative_t::const_iterator it = derivative_exo[block].begin(); it != derivative_exo[block].end(); it++) + it->second->collectTemporary_terms(temporary_terms, temporary_terms_in_use, block); + for (derivative_t::const_iterator it = derivative_exo_det[block].begin(); it != derivative_exo_det[block].end(); it++) + it->second->collectTemporary_terms(temporary_terms, temporary_terms_in_use, block); v_temporary_terms_inuse[block] = temporary_terms_in_use; } computeTemporaryTermsMapping();