update mh_mode with slice and load_mh_file
parent
f52035a3a0
commit
20b0fc8bac
|
@ -58,7 +58,7 @@ lpost_mode = posterior_kernel_at_the_mode;
|
|||
xparam1 = posterior_mean;
|
||||
hh = inv(SIGMA);
|
||||
fprintf(' Done!\n');
|
||||
if ~isfield(oo_,'posterior_mode')
|
||||
if ~isfield(oo_,'posterior_mode') || (options_.mh_replic && isequal(options_.posterior_sampler_options.posterior_sampling_method,'slice'))
|
||||
oo_=fill_mh_mode(posterior_mode',NaN(npar,1),M_,options_,estim_params_,bayestopt_,oo_,'posterior');
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue