Skip to content
Snippets Groups Projects
Commit 8d725275 authored by MichelJuillard's avatar MichelJuillard
Browse files

Julia: suppress check for all variables in steady_state_model

parent cb6c2569
No related branches found
No related tags found
No related merge requests found
Pipeline #9961 failed
...@@ -147,9 +147,11 @@ SteadyStateModel::checkPass(ModFileStructure &mod_file_struct, WarningConsolidat ...@@ -147,9 +147,11 @@ SteadyStateModel::checkPass(ModFileStructure &mod_file_struct, WarningConsolidat
so_far_defined.insert(symb_ids.begin(), symb_ids.end()); 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 /* Check that all original endogous are defined (except the instruments of a
Ramsey model, since the steady_state_block should give the steady state Ramsey model, since the steady_state_block should give the steady state
*conditional* to those instruments) */ *conditional* to those instruments) */
/*
set<int> should_be_defined = symbol_table.getOrigEndogenous(); set<int> should_be_defined = symbol_table.getOrigEndogenous();
if (mod_file_struct.ramsey_model_present) if (mod_file_struct.ramsey_model_present)
for (const auto &s : mod_file_struct.instruments.getSymbols()) for (const auto &s : mod_file_struct.instruments.getSymbols())
...@@ -157,6 +159,7 @@ SteadyStateModel::checkPass(ModFileStructure &mod_file_struct, WarningConsolidat ...@@ -157,6 +159,7 @@ SteadyStateModel::checkPass(ModFileStructure &mod_file_struct, WarningConsolidat
for (int v : should_be_defined) for (int v : should_be_defined)
if (!so_far_defined.contains(v)) 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; warnings << "WARNING: in the 'steady_state_model' block, variable '" << symbol_table.getName(v) << "' is not assigned a value" << endl;
*/
} }
void void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment