Find the temporary terms even in local model variables
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2373 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
723b260f9f
commit
56c0af0b7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue