Skip to content

trap error when sub_draws is set to zero

Marco Ratto requested to merge rattoma/dynare:sub_draws into master

setting sub_draws=0 is allowed by the preprocessor, and it may be actually handy to revert sticky options smoother, posteriorIRF etc in posterior estimation. However, this returns errors. I would suggest to filter out all posterior sub_draws (irfs, moments, smoother/filter/forecasts) if sub_draws=0.

Merge request reports