Fixed bug in dseries constructor introduced in 4e1c26db.

time-shift
Sébastien Villemot 2014-03-27 18:25:46 +01:00
parent 8daed40ab3
commit d5da406544
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ switch nargin
d = {};
else
d = varargin{4};
if ~iscell(d)
if ~iscell(d) && ~isempty(d)
d = cellstr(d);
end
end
@ -170,7 +170,7 @@ switch nargin
c = {};
else
c = varargin{3};
if ~iscell(c)
if ~iscell(c) && ~isempty(c)
c = cellstr(c);
end
end