corrected bug related to saving oo_.FilteredVariablesKStepAheadVariances and oo_.FilteredVariablesShockDecomposition

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2131 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2008-10-02 14:36:12 +00:00
parent 6ea5d0b9d5
commit f4e7a003eb
1 changed files with 1 additions and 1 deletions

View File

@ -966,7 +966,7 @@ if (~((any(bayestopt_.pshape > 0) & options_.mh_replic) | (any(bayestopt_.pshape
oo_.FilteredVariablesKStepAhead = aK(options_.filter_step_ahead, ...
i_endo_nbr,:);
if isfield(options_,'kalman_algo')
if options_.kalman_algo > 4
if options_.kalman_algo > 3
oo_.FilteredVariablesKStepAheadVariances = PK(options_.filter_step_ahead,i_endo_nbr,i_endo_nbr,:);
oo_.FilteredVariablesShockDecomposition = ...
decomp(options_.filter_step_ahead,i_endo_nbr,:,:);