Fixes for octave with unix
parent
b4fa7ef84e
commit
3f43f556c8
|
@ -237,6 +237,17 @@ if options_gsa.rmse,
|
|||
else
|
||||
a=whos('-file',[OutputDirectoryName,'/',fname_,'_mc'],'logpo2');
|
||||
end
|
||||
if exist('OCTAVE_VERSION') && ~ispc,
|
||||
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),
|
||||
% dynare_MC([],OutputDirectoryName,data,rawdata,data_info);
|
||||
prior_posterior_statistics('gsa',dataset_);
|
||||
|
|
|
@ -97,10 +97,10 @@ if options_.opt_gsa.ppost,
|
|||
else
|
||||
if options_.opt_gsa.pprior
|
||||
fnamtmp=[fname_,'_prior'];
|
||||
DirectoryName = CheckPath(['gsa' filesep 'prior']);
|
||||
DirectoryName = CheckPath(['GSA' filesep 'prior']);
|
||||
else
|
||||
fnamtmp=[fname_,'_mc'];
|
||||
DirectoryName = CheckPath(['gsa' filesep 'mc']);
|
||||
DirectoryName = CheckPath(['GSA' filesep 'mc']);
|
||||
end
|
||||
end
|
||||
if ~loadSA,
|
||||
|
|
Loading…
Reference in New Issue