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

Fixed bug reported by Johannes (presample option was non active in nonlinear filters).

parent 4cef0a15
......@@ -296,7 +296,7 @@ ReducedForm.StateVectorVariance = StateVectorVariance;
%------------------------------------------------------------------------------
DynareOptions.warning_for_steadystate = 0;
[s1,s2] = get_dynare_random_generator_state();
LIK = feval(DynareOptions.particle.algorithm,ReducedForm,Y,[],DynareOptions);
LIK = feval(DynareOptions.particle.algorithm,ReducedForm,Y,start,DynareOptions);
set_dynare_random_generator_state(s1,s2);
if imag(LIK)
likelihood = objective_function_penalty_base;
......
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