Skip to content
Snippets Groups Projects
Commit 44670e4d authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Forbid use of 'identification' with exogenous deterministic variables.

Closes #664

(manually cherry picked from commit d1958e45)
parent 2d87a8c0
Branches
Tags
No related merge requests found
......@@ -419,6 +419,12 @@ ModFile::transformPass(bool nostrict)
exit(EXIT_FAILURE);
}
if (mod_file_struct.identification_present && symbol_table.exo_det_nbr() > 0)
{
cerr << "ERROR: identification is incompatible with deterministic exogenous variables" << endl;
exit(EXIT_FAILURE);
}
if (!mod_file_struct.ramsey_policy_present)
cout << "Found " << dynamic_model.equation_number() << " equation(s)." << endl;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment