Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
...@@ -313,6 +313,7 @@ Y = DynareDataset.data-trend; ...@@ -313,6 +313,7 @@ Y = DynareDataset.data-trend;
% 3. Initial condition of the Kalman filter % 3. Initial condition of the Kalman filter
%------------------------------------------------------------------------------ %------------------------------------------------------------------------------
kalman_algo = DynareOptions.kalman_algo; kalman_algo = DynareOptions.kalman_algo;
diffuse_periods = 0;
switch DynareOptions.lik_init switch DynareOptions.lik_init
case 1% Standard initialization with the steady state of the state equation. case 1% Standard initialization with the steady state of the state equation.
if kalman_algo~=2 if kalman_algo~=2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment