Skip to content
Snippets Groups Projects
Commit d08fd379 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

Do not set oo_.posterior.optimization-fields when mh_posterior_mode_estimation is used

parent 22a205d5
Branches
No related tags found
No related merge requests found
......@@ -353,10 +353,11 @@ if options_.mode_check.status == 1 && ~options_.mh_posterior_mode_estimation
options_.analytic_derivation = ana_deriv_old;
end
oo_.posterior.optimization.mode = xparam1;
oo_.posterior.optimization.mode = [];
oo_.posterior.optimization.Variance = [];
invhess=[];
if ~options_.mh_posterior_mode_estimation
oo_.posterior.optimization.mode = xparam1;
if options_.cova_compute
invhess = inv(hh);
stdh = sqrt(diag(invhess));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment