Forbid mfs > 0 in a stochastic setup (or even when using check)
The result would be wrong. Ref. dynare#1726issue#70
parent
7765efe95b
commit
3c4d647cc3
|
@ -358,6 +358,12 @@ ModFile::checkPass(bool nostrict, bool stochastic)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
if ((stochastic_statement_present || mod_file_struct.check_present) && dynamic_model.mfs > 0)
|
||||
{
|
||||
cerr << "ERROR: mfs > 0 is incompatible with check, stoch_simul, estimation, osr, ramsey_policy, discretionary_policy, calib_smoother, identification, methods_of_moments and sensitivity commands" << endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue