Bug fix (internals command with --load-mh-history option).

time-shift
Stéphane Adjemian (Scylla) 2013-11-26 14:03:11 +01:00
parent bd630d7210
commit 10150a081d
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ if strcmpi(flag,'--load-mh-history') || strcmpi(flag,'--display-mh-history')
end
o = load_last_mh_history_file([dname filesep 'metropolis'],fname);
if strcmpi(flag,'--load-mh-history')
assignin('caller','mcmc_informations',o.record);
assignin('caller','mcmc_informations',o);
else
oo = load_first_mh_history_file([dname filesep 'metropolis'],fname);
local = load([fname '_results'],'bayestopt_');