diff --git a/src/ModelEquationBlock.cc b/src/ModelEquationBlock.cc index b5f804216e98e46f6fc577485abbc0c4c0e45542..7574fe8053c2797d860a392f68890ea0c88f1d22 100644 --- a/src/ModelEquationBlock.cc +++ b/src/ModelEquationBlock.cc @@ -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