Fixed lik_init=5.

Missing initialization for the vector of state variables (a) and Zflag.
time-shift
Stéphane Adjemian (Charybdis) 2015-11-04 22:33:15 +01:00
parent cbe236730c
commit 5bccacaaa5
1 changed files with 2 additions and 0 deletions

View File

@ -513,6 +513,8 @@ switch DynareOptions.lik_init
end
Pstar(stable, stable) = Pstar_tmp;
Pinf = [];
a = zeros(mm,1);
Zflag = 0;
otherwise
error('dsge_likelihood:: Unknown initialization approach for the Kalman filter!')
end