diff --git a/matlab/estimation/selec_posterior_draws.m b/matlab/estimation/selec_posterior_draws.m index c331dd2d735dc34f0deac6b6d85788603f8bebc2..ad6c97c38b634e21d21744289653bc5d75e030e4 100644 --- a/matlab/estimation/selec_posterior_draws.m +++ b/matlab/estimation/selec_posterior_draws.m @@ -145,7 +145,7 @@ if info end pdraws(linee,1) = {x2(SampleAddress(i,4),:)}; if info==2 - M_ = set_parameters_locally(M_,pdraws{i,1}); + M_ = set_parameters_locally(M_,pdraws{linee,1}); [dr,~,M_.params] = compute_decision_rules(M_,options_,dr, endo_steady_state, exo_steady_state, exo_det_steady_state); pdraws(linee,2) = { dr }; end