From a91c36f920bf029949e84f6369888697de8e9136 Mon Sep 17 00:00:00 2001 From: Marco Ratto <marco.ratto@ec.europa.eu> Date: Fri, 18 Nov 2022 17:33:38 +0100 Subject: [PATCH] first_period_occbin_update is an index, not a boolean --- matlab/+occbin/set_default_options.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/+occbin/set_default_options.m b/matlab/+occbin/set_default_options.m index 17e74a3234..34f31b47f4 100644 --- a/matlab/+occbin/set_default_options.m +++ b/matlab/+occbin/set_default_options.m @@ -67,7 +67,7 @@ end if ismember(flag,{'likelihood','all'}) options_occbin_.likelihood.curb_retrench = false; - options_occbin_.likelihood.first_period_occbin_update = true; + options_occbin_.likelihood.first_period_occbin_update = 1; options_occbin_.likelihood.full_output = false; options_occbin_.likelihood.IF_likelihood = false; options_occbin_.likelihood.init_regime_history = []; @@ -187,7 +187,7 @@ if ismember(flag,{'smoother','all'}) options_occbin_.smoother.curb_retrench = false; options_occbin_.smoother.debug = false; options_occbin_.smoother.fast = false; - options_occbin_.smoother.first_period_occbin_update = true; + options_occbin_.smoother.first_period_occbin_update = 1; options_occbin_.smoother.full_output = false; % options.occbin.smoother.init_mode = 1; % 0 = standard; 1 = unconditional frcsts zero shocks+smoothed states in each period options_occbin_.smoother.init_regime_history = []; -- GitLab