From fb0ccdd5d26edc41e61581fdd3e1eb572b1ccb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Wed, 2 Oct 2013 16:45:16 +0200 Subject: [PATCH] Provide more sensible lower and upper bounds for simpsa algorithm. --- matlab/dynare_estimation_1.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index 1782a8b7e..e5ad0d0ba 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -408,7 +408,7 @@ if ~isequal(options_.mode_compute,0) && ~options_.mh_posterior_mode_estimation xparam1=BESTEVER.x; disp(sprintf('\n Objective function at mode: %f',fval)) case 10 - [xparam1, fval, exitflag] = simpsa(func2str(objective_function),xparam1,-inf(size(xparam1)),inf(size(xparam1)),[],dataset_,options_,M_,estim_params_,bayestopt_,oo_); + [xparam1, fval, exitflag] = simpsa(func2str(objective_function),xparam1,lb,ub,[],dataset_,options_,M_,estim_params_,bayestopt_,oo_); case 11 options_.cova_compute = 0 ; [xparam1,stdh,lb_95,ub_95,med_param] = online_auxiliary_filter(xparam1,dataset_,options_,M_,estim_params_,bayestopt_,oo_) ;