diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index 89161214635ceb549df7c9f78f80c4f618645250..766c240468628cf63e65ed1f3d81afe1d65fe3b0 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -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_model_present) cout << "Found " << dynamic_model.equation_number() << " equation(s)." << endl; else