Find the temporary terms even in local model variables

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2373 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
ferhat 2009-01-23 14:09:24 +00:00
parent 723b260f9f
commit 56c0af0b7e
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,8 @@ VariableNode::collectTemporary_terms(const temporary_terms_type &temporary_terms
temporary_terms_type::const_iterator it = temporary_terms.find(const_cast<VariableNode *>(this));
if (it != temporary_terms.end())
ModelBlock->Block_List[Curr_Block].Temporary_InUse->insert(idx);
if(type== eModelLocalVariable)
datatree.local_variables_table[symb_id]->collectTemporary_terms(temporary_terms, ModelBlock, Curr_Block);
}
void