From f19f36d9aced793a2657e50747f7831b69303ab8 Mon Sep 17 00:00:00 2001 From: sebastien Date: Wed, 29 Apr 2009 11:35:44 +0000 Subject: [PATCH] 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 --- ModFile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModFile.cc b/ModFile.cc index e775d433..b52c0c01 100644 --- a/ModFile.cc +++ b/ModFile.cc @@ -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);