From 4b68cc1c670ceb5157562438c4fd3b4d995151da Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Mon, 18 Sep 2017 11:42:36 +0200 Subject: [PATCH] preprocessor: remove unnecessary global declaration. closes #1518 (cherry picked from commit dbe35d1819d2bd597fcd9d459a6ba608e859974e) --- preprocessor/ComputingTasks.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/preprocessor/ComputingTasks.cc b/preprocessor/ComputingTasks.cc index 30615f63f..0aa219b37 100644 --- a/preprocessor/ComputingTasks.cc +++ b/preprocessor/ComputingTasks.cc @@ -811,8 +811,7 @@ EstimatedParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningCo void EstimatedParamsStatement::writeOutput(ostream &output, const string &basename, bool minimal_workspace) const { - output << "global estim_params_" << endl - << "estim_params_.var_exo = [];" << endl + output << "estim_params_.var_exo = [];" << endl << "estim_params_.var_endo = [];" << endl << "estim_params_.corrx = [];" << endl << "estim_params_.corrn = [];" << endl -- GitLab