Merge branch 'globals' into 'master'

Remove globals from dynare_sensitivity and dynare_identification

See merge request Dynare/preprocessor!95
master
Sébastien Villemot 2023-12-07 11:03:06 +00:00
commit 378d00fc3a
1 changed files with 3 additions and 2 deletions

View File

@ -1106,7 +1106,7 @@ DynareSensitivityStatement::writeOutput(ostream& output, [[maybe_unused]] const
if (auto opt = options_list.get_if<OptionsList::SymbolListVal>("graph_format"))
opt->writeOutput("options_.graph_format", output);
output << "dynare_sensitivity(options_gsa);" << endl;
output << "dynare_sensitivity(M_,oo_,options_,bayestopt_,estim_params_,options_gsa);" << endl;
}
void
@ -2941,7 +2941,8 @@ IdentificationStatement::writeOutput(ostream& output, [[maybe_unused]] const str
if (auto opt = options_list.get_if<OptionsList::SymbolListVal>("graph_format"))
opt->writeOutput("options_.graph_format", output);
output << "dynare_identification(options_ident);" << endl;
output << "dynare_identification(M_,oo_,options_,bayestopt_,estim_params_,"
<< "options_ident);" << endl;
}
void