Skip to content
Snippets Groups Projects
Verified Commit 1fedaa22 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

+occbin/kalman_update_algo_3.m: fix call to occbin.solver

Closes: #1927
parent b35aa90e
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment