Commit d31e6a66 authored by Sébastien Villemot's avatar Sébastien Villemot

Under Octave, don't overload the built-in rows and columns functions.

Since those functions are built-in, exist('...', 'file') returns false.
parent 0281ffe7
......@@ -14,14 +14,14 @@ if ~exist('isint','file')
addpath([dates_src_root '/utilities/missing/isint'])
end
if ~exist('rows','file') || ~exist('columns','file')
addpath([dates_src_root '/utilities/missing/dims'])
end
if ~exist('isoctave','file')
addpath([dates_src_root '/utilities/missing/isoctave'])
end
if ~isoctave && (~exist('rows','file') || ~exist('columns','file'))
addpath([dates_src_root '/utilities/missing/dims'])
end
if ~exist('shiftS','file')
addpath([dates_src_root '/utilities/missing/shiftS'])
end
......
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