Skip to content
Snippets Groups Projects
Commit a84c4da3 authored by Marco Ratto's avatar Marco Ratto Committed by Sébastien Villemot
Browse files

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

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