Skip to content
Snippets Groups Projects
Commit 524e9a9c authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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)
parent d1f548e7
No related branches found
No related tags found
No related merge requests found
...@@ -295,7 +295,7 @@ SymbolTable::addLagAuxiliaryVarInternal(bool endo, int orig_symb_id, int orig_le ...@@ -295,7 +295,7 @@ SymbolTable::addLagAuxiliaryVarInternal(bool endo, int orig_symb_id, int orig_le
varname << "AUX_ENDO_LAG_"; varname << "AUX_ENDO_LAG_";
else else
varname << "AUX_EXO_LAG_"; varname << "AUX_EXO_LAG_";
varname << orig_symb_id << "_" << -orig_lead_lag; varname << getTypeSpecificID(orig_symb_id)+1 << "_" << -orig_lead_lag;
int symb_id; int symb_id;
try try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment