Allow empty argument.
parent
2bc7944286
commit
4bd775948e
|
@ -51,7 +51,7 @@ else
|
||||||
end
|
end
|
||||||
|
|
||||||
% Set default value for the last input argument (no transformation).
|
% Set default value for the last input argument (no transformation).
|
||||||
if nargin<6
|
if nargin<6 || isempty(varargin{2})
|
||||||
notransform = true;
|
notransform = true;
|
||||||
else
|
else
|
||||||
notransform = false;
|
notransform = false;
|
||||||
|
|
Loading…
Reference in New Issue