v4: correcting bug in kperiod lead in dr1.m

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@469 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2005-09-30 15:04:11 +00:00
parent bbf1729f9b
commit a7c77a4a38
1 changed files with 1 additions and 0 deletions

View File

@ -470,6 +470,7 @@ hu1 = [hu;zeros(np-npred,M_.exo_nbr)];
%B1 = [B(1:M_.endo_nbr,:);zeros(size(A,1)-M_.endo_nbr,size(B,2))];
rhs = -[rhs; zeros(n-M_.endo_nbr,size(rhs,2))]-B*dr.ghxx*kron(hx,hu1);
%lhs
dr.ghxu = A\rhs;