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

bug fix for use with octave for windows (filesep in place of '/')

parent c8568a7f
Branches
Tags
No related merge requests found
...@@ -45,20 +45,20 @@ function ReshapeMatFiles(type, type2) ...@@ -45,20 +45,20 @@ function ReshapeMatFiles(type, type2)
global M_ options_ global M_ options_
if nargin==1, if nargin==1,
MhDirectoryName = [ CheckPath('metropolis') '/' ]; MhDirectoryName = [ CheckPath('metropolis') filesep ];
else else
if strcmpi(type2,'posterior') if strcmpi(type2,'posterior')
MhDirectoryName = [CheckPath('metropolis') '/' ]; MhDirectoryName = [CheckPath('metropolis') filesep ];
elseif strcmpi(type2,'gsa') elseif strcmpi(type2,'gsa')
if options_.opt_gsa.morris==1, if options_.opt_gsa.morris==1,
MhDirectoryName = [CheckPath('GSA\SCREEN') '/' ]; MhDirectoryName = [CheckPath('GSA\SCREEN') filesep ];
elseif options_.opt_gsa.morris==2, elseif options_.opt_gsa.morris==2,
MhDirectoryName = [CheckPath('GSA\IDENTIF') '/' ]; MhDirectoryName = [CheckPath('GSA\IDENTIF') filesep ];
else else
MhDirectoryName = [CheckPath('GSA') '/' ]; MhDirectoryName = [CheckPath('GSA') filesep ];
end end
else else
MhDirectoryName = [CheckPath('prior') '/' ]; MhDirectoryName = [CheckPath('prior') filesep ];
end end
end end
switch type switch type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment