From e5e7e34725ae25981143efe2d2c05aeaa0c13b99 Mon Sep 17 00:00:00 2001 From: MichelJuillard <michel.juillard@mjui.fr> Date: Wed, 11 Jan 2023 20:35:55 +0100 Subject: [PATCH] allow undefined symbols in steady_state_models --- src/ModelEquationBlock.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ModelEquationBlock.cc b/src/ModelEquationBlock.cc index 212e0194..bd9687bc 100644 --- a/src/ModelEquationBlock.cc +++ b/src/ModelEquationBlock.cc @@ -128,6 +128,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat warnings << "WARNING: in the 'steady_state_model' block, variable '" << symbol_table.getName(symb_id) << "' is declared twice" << endl; + /* Don't do the check for Julia // Check that expression has no undefined symbol if (!mod_file_struct.ramsey_model_present) { @@ -144,7 +145,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat exit(EXIT_FAILURE); } } - + */ so_far_defined.insert(symb_ids.begin(), symb_ids.end()); } -- GitLab