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

Linked simpsa's tolerance options to dynare's defaults.

parent 1ff6b2de
......@@ -408,7 +408,8 @@ 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,lb,ub,[],dataset_,options_,M_,estim_params_,bayestopt_,oo_);
options = simpsaset('TOLX', options_.dynatol.x,'TOLFUN', options_.dynatol.f)
[xparam1, fval, exitflag] = simpsa(func2str(objective_function),xparam1,lb,ub,options,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_) ;
......
Supports Markdown
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