Skip to content
Snippets Groups Projects
Verified Commit 655b706a authored by Frédéric Karamé's avatar Frédéric Karamé Committed by Stéphane Adjemian
Browse files

Bug fix in the call of the non_linear_dsge_likelihood function.

(cherry picked from commit 0b5062a9)
parent bc443b32
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ function mdd = hssmc(TargetFun, mh_bounds, dataset_, dataset_info, options_, M_,
Prior = dprior(bayestopt_, options_.prior_trunc);
% Set function handle for the objective
eval(sprintf('%s = @(x) %s(x, dataset_, dataset_info, options_, M_, estim_params_, bayestopt_, mh_bounds, oo_.dr , oo_.steady_state, oo_.exo_steady_state, oo_.exo_det_steady_state, []);', 'funobj', func2str(TargetFun)));
eval(sprintf('%s = @(x) %s(x, dataset_, dataset_info, options_, M_, estim_params_, bayestopt_, mh_bounds, oo_.dr , oo_.steady_state, oo_.exo_steady_state, oo_.exo_det_steady_state);', 'funobj', func2str(TargetFun)));
mlogit = @(x) .95 + .1/(1 + exp(-16*x)); % Update of the scale parameter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment