diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index 0fec65d937caddcef84c92cf7f7f321113ff2a62..7977e7bfd09f4b4d42e6677d4be1936fdee2d965 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -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));