From 1fedaa22b5693f5e9ff9c7bfc510e8fe5f440b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Tue, 26 Mar 2024 17:27:02 +0100 Subject: [PATCH] +occbin/kalman_update_algo_3.m: fix call to occbin.solver Closes: #1927 --- matlab/+occbin/kalman_update_algo_3.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/+occbin/kalman_update_algo_3.m b/matlab/+occbin/kalman_update_algo_3.m index 7a4101f042..457c474806 100644 --- a/matlab/+occbin/kalman_update_algo_3.m +++ b/matlab/+occbin/kalman_update_algo_3.m @@ -55,7 +55,7 @@ function [a, a1, P, P1, v, Fi, Ki, T, R, C, regimes_, error_flag, M_, lik, alpha % constraints, Working Papers 2021-03, Joint Research Centre, European Commission -% Copyright © 2021-2023 Dynare Team +% Copyright © 2021-2024 Dynare Team % % This file is part of Dynare. % @@ -256,7 +256,7 @@ if any(myregime) || ~isequal(regimes_(1),regimes0(1)) opts_simul.periods = max(opts_simul.periods,max(myregimestart)); opts_simul.maxit=1; options_.occbin.simul=opts_simul; - [~, out, ss] = occbin.solver(M_,oo_,options_); + [~, out, ss] = occbin.solver(M_,options_,dr,endo_steady_state,exo_steady_state,exo_det_steady_state); if out.error_flag error_flag = out.error_flag; etahat=etahat(:,2); @@ -383,4 +383,4 @@ while t > 1 ri = T'*ri; % KD (2003), eq. (23), equation for r_{t-1,p_{t-1}} end -end \ No newline at end of file +end -- GitLab