Skip to content
Snippets Groups Projects
Commit 669aaa10 authored by MichelJuillard's avatar MichelJuillard
Browse files

fixed another bug with missing current value at 2nd order

(cherry picked from commit 1d1c9acccdd2330086338c5cf68c6dabd5638549)
parent eebb1bf4
No related branches found
Tags
No related merge requests found
......@@ -529,7 +529,7 @@ A(:,k0) = jacobia_(:,nonzeros(lead_lag_incidence(M_.maximum_endo_lag+1,order_var
% variables with the highest lead
k1 = find(kstate(:,2) == M_.maximum_endo_lag+2);
% Jacobian with respect to the variables with the highest lead
fyp = jacobia_(:,kstate(k1,3)+M_.endo_nbr);
fyp = jacobia_(:,kstate(k1,3)+nnz(M_.lead_lag_incidence(M_.maximum_endo_lag+1,:)));
B(:,nstatic+npred-dr.nboth+1:end) = fyp;
offset = M_.endo_nbr;
gx1 = dr.ghx;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment