Commit d56d35f1 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added missing initialization of diffusion_periods (when the diffuse filter is not used).

parent 568cc836
......@@ -313,6 +313,7 @@ Y = DynareDataset.data-trend;
% 3. Initial condition of the Kalman filter
%------------------------------------------------------------------------------
kalman_algo = DynareOptions.kalman_algo;
diffuse_periods = 0;
switch DynareOptions.lik_init
case 1% Standard initialization with the steady state of the state equation.
if kalman_algo~=2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment