Removed deprecated syntaxes.

issue#70
Stéphane Adjemian (Charybdis) 2015-08-12 19:03:29 +02:00
parent 6330fa0374
commit 756ff179ff
1 changed files with 9 additions and 2 deletions

View File

@ -2934,8 +2934,15 @@ DynamicModel::writeOutput(ostream &output, const string &basename, bool block_de
}
// Writing initialization for some other variables
output << modstruct << "exo_names_orig_ord = [1:" << symbol_table.exo_nbr() << "];" << endl
<< modstruct << "maximum_lag = " << max_lag << ";" << endl
if (!julia)
{
output << modstruct << "exo_names_orig_ord = [1:" << symbol_table.exo_nbr() << "];" << endl ;
}
else
{
output << modstruct << "exo_names_orig_ord = collect(1:" << symbol_table.exo_nbr() << ");" << endl ;
}
output << modstruct << "maximum_lag = " << max_lag << ";" << endl
<< modstruct << "maximum_lead = " << max_lead << ";" << endl;
output << modstruct << "maximum_endo_lag = " << max_endo_lag << ";" << endl