Skip to content
Snippets Groups Projects
Verified Commit a856eb77 authored by MichelJuillard's avatar MichelJuillard Committed by Sébastien Villemot
Browse files

allow undefined symbols in steady_state_models

parent 0586f68a
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,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)
{
......@@ -163,7 +164,7 @@ SteadyStateModel::checkPass(ModFileStructure& mod_file_struct, WarningConsolidat
exit(EXIT_FAILURE);
}
}
*/
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