Skip to content
Snippets Groups Projects
Commit 4ba9c929 authored by Marco Ratto's avatar Marco Ratto
Browse files

trap slice sampler when doing mh_recover

parent 5badd343
Branches
Tags
No related merge requests found
...@@ -366,7 +366,9 @@ elseif options_.mh_recover ...@@ -366,7 +366,9 @@ elseif options_.mh_recover
FirstLine = ones(NumberOfBlocks,1); FirstLine = ones(NumberOfBlocks,1);
LastFileFullIndicator=1; LastFileFullIndicator=1;
end end
if ~isequal(options_.posterior_sampler_options.posterior_sampling_method,'slice'),
[d,bayestopt_]=set_proposal_density_to_previous_value(record,options_,bayestopt_); [d,bayestopt_]=set_proposal_density_to_previous_value(record,options_,bayestopt_);
end
%% Now find out what exactly needs to be redone %% Now find out what exactly needs to be redone
% 1. Check if really something needs to be done % 1. Check if really something needs to be done
% How many mh files should we have ? % How many mh files should we have ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment