Partially reverted 19048bdca
.
There is no reason to associate an exogenous variable or parameter to a specific equation. For these types the user can use the pipe notation (|x, |p) in any equations or the usual parameters and varexo statements.issue#70
parent
4a04a38374
commit
49e1c43aed
|
@ -375,15 +375,7 @@ ParsingDriver::add_equation_tags(string *key, string *value)
|
|||
if (key->compare("endogenous") == 0)
|
||||
declare_or_change_type(SymbolType::endogenous, value);
|
||||
|
||||
else if (key->compare("exogenous") == 0)
|
||||
declare_or_change_type(SymbolType::exogenous, value);
|
||||
|
||||
else if (key->compare("parameter") == 0)
|
||||
declare_or_change_type(SymbolType::parameter, value);
|
||||
|
||||
if (!(key->compare("endogenous") == 0
|
||||
|| key->compare("exogenous") == 0
|
||||
|| key->compare("parameter") == 0))
|
||||
if (!(key->compare("endogenous") == 0))
|
||||
delete value;
|
||||
|
||||
delete key;
|
||||
|
|
Loading…
Reference in New Issue