Deleted trailing white spaces.
parent
859335b34f
commit
13f1e62de8
|
@ -101,7 +101,7 @@ function [fval,exit_flag,ys,trend_coeff,info,Model,DynareOptions,BayesInfo,Dynar
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2010-2011 Dynare Team
|
||||
% Copyright (C) 2010, 2011, 2012 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -38,7 +38,7 @@ function [LIK,lik] = sequential_importance_particle_filter(ReducedForm,Y,start,D
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2011 Dynare Team
|
||||
% Copyright (C) 2011, 2012 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -73,7 +73,7 @@ steadystate = ReducedForm.steadystate;
|
|||
constant = ReducedForm.constant;
|
||||
state_variables_steady_state = ReducedForm.state_variables_steady_state;
|
||||
|
||||
% Set persistent variables.
|
||||
% Set persistent variables (if needed).
|
||||
if isempty(init_flag)
|
||||
mf0 = ReducedForm.mf0;
|
||||
mf1 = ReducedForm.mf1;
|
||||
|
@ -93,7 +93,7 @@ ghxx = ReducedForm.ghxx;
|
|||
ghuu = ReducedForm.ghuu;
|
||||
ghxu = ReducedForm.ghxu;
|
||||
|
||||
% Get covariance matrices
|
||||
% Get covariance matrices.
|
||||
Q = ReducedForm.Q;
|
||||
H = ReducedForm.H;
|
||||
if isempty(H)
|
||||
|
@ -138,7 +138,7 @@ for t=1:sample_size
|
|||
weights = ones(1,number_of_particles) ;
|
||||
elseif ~isempty(strmatch(DynareOptions.particle_filter.resampling,'none','exact'))
|
||||
StateVectors = tmp(mf0,:);
|
||||
weights = number_of_particles*weights ;
|
||||
weights = number_of_particles*weights;
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue