Merge branch 'prior_posterior_statistics' into 'master'

prior_posterior_statistics.m: fix logical condition

See merge request Dynare/dynare!2114
unit-tests
Sébastien Villemot 2022-12-06 09:32:31 +00:00
commit 0e3bf1e857
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ irun = ones(n_variables_to_fill,1);
ifil = zeros(n_variables_to_fill,1);
run_smoother = 0;
if options_.smoother || options_.forecast || options_.filter_step_ahead || options_.smoothed_state_uncertainty
if options_.smoother || options_.forecast || ~isempty(options_.filter_step_ahead) || options_.smoothed_state_uncertainty
run_smoother = 1;
if options_.loglinear
oo_.Smoother.loglinear = true;