Commit 1631e0f1 authored by Sébastien Villemot's avatar Sébastien Villemot

Merge commit 'remotes/ratto/master~1'

parents 44499a5f 0130d6cb
...@@ -237,6 +237,17 @@ if options_gsa.rmse, ...@@ -237,6 +237,17 @@ if options_gsa.rmse,
else else
a=whos('-file',[OutputDirectoryName,'/',fname_,'_mc'],'logpo2'); a=whos('-file',[OutputDirectoryName,'/',fname_,'_mc'],'logpo2');
end end
if exist('OCTAVE_VERSION'),
aflag=0;
for ja=1:length(a),
aflag=aflag+strcmp('logpo2',a(ja).name);
end
if aflag==0,
a=[];
else
a=1;
end
end
if isempty(a), if isempty(a),
% dynare_MC([],OutputDirectoryName,data,rawdata,data_info); % dynare_MC([],OutputDirectoryName,data,rawdata,data_info);
prior_posterior_statistics('gsa',dataset_); prior_posterior_statistics('gsa',dataset_);
......
...@@ -97,10 +97,10 @@ if options_.opt_gsa.ppost, ...@@ -97,10 +97,10 @@ if options_.opt_gsa.ppost,
else else
if options_.opt_gsa.pprior if options_.opt_gsa.pprior
fnamtmp=[fname_,'_prior']; fnamtmp=[fname_,'_prior'];
DirectoryName = CheckPath(['gsa' filesep 'prior']); DirectoryName = CheckPath(['GSA' filesep 'prior']);
else else
fnamtmp=[fname_,'_mc']; fnamtmp=[fname_,'_mc'];
DirectoryName = CheckPath(['gsa' filesep 'mc']); DirectoryName = CheckPath(['GSA' filesep 'mc']);
end end
end end
if ~loadSA, if ~loadSA,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment