Skip to content
Snippets Groups Projects
Commit f19f36d9 authored by sebastien's avatar sebastien
Browse files

trunk preprocessor: enforce impossibility of mixing deterministic and...

trunk preprocessor: enforce impossibility of mixing deterministic and stochastic statements, even in Sparse/SparseDLL modes


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2649 ac1d8469-bf42-47a9-8791-bf33cf982152
parent d65978ff
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ ModFile::checkPass()
exit(EXIT_FAILURE);
}
if (mod_file_struct.simul_present && stochastic_statement_present && dynamic_model.mode == 0)
if (mod_file_struct.simul_present && stochastic_statement_present)
{
cerr << "ERROR: A .mod file cannot contain both a simul command and one of {stoch_simul, estimation, forecast, osr, ramsey_policy}" << endl;
exit(EXIT_FAILURE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment