From 6975aaef43517a9aef1080eb8779cdab786b08f8 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Fri, 9 Feb 2024 19:42:04 +0100 Subject: [PATCH] selec_posterior_draws.m: fix bug introduced when removing oo_ as an input Thanks to Francesco Turino --- matlab/estimation/selec_posterior_draws.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/estimation/selec_posterior_draws.m b/matlab/estimation/selec_posterior_draws.m index 6282245d6..c331dd2d7 100644 --- a/matlab/estimation/selec_posterior_draws.m +++ b/matlab/estimation/selec_posterior_draws.m @@ -26,7 +26,7 @@ function SampleAddress = selec_posterior_draws(M_,options_,dr,endo_steady_state, % None. % -% Copyright © 2006-2022 Dynare Team +% Copyright © 2006-2024 Dynare Team % % This file is part of Dynare. % @@ -146,7 +146,7 @@ if info pdraws(linee,1) = {x2(SampleAddress(i,4),:)}; if info==2 M_ = set_parameters_locally(M_,pdraws{i,1}); - [dr,~,M_.params] = compute_decision_rules(M_,options_,oo_.dr, oo_.steady_state, oo_.exo_steady_state, oo_.exo_det_steady_state); + [dr,~,M_.params] = compute_decision_rules(M_,options_,dr, endo_steady_state, exo_steady_state, exo_det_steady_state); pdraws(linee,2) = { dr }; end old_mhfile = mhfile;