Preprocessor: change the automatically generated name of auxiliary vars for

lagged endo/exo so that they contain the type-specific symbol ID (instead of
the preprocessor internal symbol ID)
issue#70
Sébastien Villemot 2010-09-07 13:03:51 +02:00
parent 1910d02e74
commit e7067a04d8
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ SymbolTable::addLagAuxiliaryVarInternal(bool endo, int orig_symb_id, int orig_le
varname << "AUX_ENDO_LAG_";
else
varname << "AUX_EXO_LAG_";
varname << orig_symb_id << "_" << -orig_lead_lag;
varname << getTypeSpecificID(orig_symb_id)+1 << "_" << -orig_lead_lag;
int symb_id;
try