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 #11816 failed
......@@ -147,9 +147,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())
......@@ -157,6 +159,7 @@ SteadyStateModel::checkPass(ModFileStructure &mod_file_struct, WarningConsolidat
for (int v : should_be_defined)
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment