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

allow undefined symbols in steady_state_models

parent ef5c540d
Branches
Tags
No related merge requests found
...@@ -128,6 +128,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat ...@@ -128,6 +128,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat
warnings << "WARNING: in the 'steady_state_model' block, variable '" warnings << "WARNING: in the 'steady_state_model' block, variable '"
<< symbol_table.getName(symb_id) << "' is declared twice" << endl; << symbol_table.getName(symb_id) << "' is declared twice" << endl;
/* Don't do the check for Julia
// Check that expression has no undefined symbol // Check that expression has no undefined symbol
if (!mod_file_struct.ramsey_model_present) if (!mod_file_struct.ramsey_model_present)
{ {
...@@ -144,7 +145,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat ...@@ -144,7 +145,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
} }
*/
so_far_defined.insert(symb_ids.begin(), symb_ids.end()); so_far_defined.insert(symb_ids.begin(), symb_ids.end());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment