Fixed bug.

time-shift
Stéphane Adjemian (Scylla) 2013-12-13 15:48:05 +01:00
parent fd5742a399
commit 8e6df85604
1 changed files with 3 additions and 2 deletions

View File

@ -22,13 +22,14 @@ if nargout>1
description = ''; description = '';
end end
MetropolisFolder = CheckPath('metropolis',M_.dname); [MetropolisFolder, info] = CheckPath('metropolis',M_.dname);
% Get informations about mcmc files. % Get informations about mcmc files.
if ~exist([ M_.dname '/metropolis'],'dir') if info
disp('check_posterior_analysis_data:: Can''t find any mcmc file!') disp('check_posterior_analysis_data:: Can''t find any mcmc file!')
return return
end end
mhname = get_name_of_the_last_mh_file(M_); mhname = get_name_of_the_last_mh_file(M_);
mhdate = get_date_of_a_file([MetropolisFolder filesep mhname]); mhdate = get_date_of_a_file([MetropolisFolder filesep mhname]);