From e751ecd3906f2d49a4a294c33d1194800c9ac72d Mon Sep 17 00:00:00 2001 From: MichelJuillard <michel.juillard@mjui.fr> Date: Sat, 16 Dec 2023 15:43:17 +0100 Subject: [PATCH] Julia: suppress check for all variables in steady_state_model --- src/ModelEquationBlock.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ModelEquationBlock.cc b/src/ModelEquationBlock.cc index bd9687bc..1cbc65e8 100644 --- a/src/ModelEquationBlock.cc +++ b/src/ModelEquationBlock.cc @@ -149,9 +149,11 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat so_far_defined.insert(symb_ids.begin(), symb_ids.end()); } + // Don't do the check for Julia: steady state block maybe incomplete /* Check that all original endogous are defined (except the instruments of a Ramsey model, since the steady_state_block should give the steady state *conditional* to those instruments) */ + /* set<int> should_be_defined = symbol_table.getOrigEndogenous(); if (mod_file_struct.ramsey_model_present) for (const auto& s : mod_file_struct.instruments.getSymbols()) @@ -160,6 +162,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat if (!so_far_defined.contains(v)) warnings << "WARNING: in the 'steady_state_model' block, variable '" << symbol_table.getName(v) << "' is not assigned a value" << endl; + */ } void -- GitLab