Allow empty argument.

time-shift
Stéphane Adjemian (Charybdis) 2020-03-13 17:44:09 +01:00
parent 2bc7944286
commit 4bd775948e
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ else
end
% Set default value for the last input argument (no transformation).
if nargin<6
if nargin<6 || isempty(varargin{2})
notransform = true;
else
notransform = false;