Cosmetic change (use isdates routine).

time-shift
Stéphane Adjemian (Scylla) 2013-11-29 15:50:00 +01:00
parent 8eb45edb92
commit 0419aa00e2
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ if nargin<2
return
end
if ~(isa(a,'dates') || isdate(a) || (isscalar(a) && isint(a)))
if ~( isdates(a) || isdate(a) || (isscalar(a) && isint(a)) )
error(['dates::pop: Input argument ' inputname(2) ' has to be a dates object with a single element, a string (which can be interpreted as a date) or an integer.'])
end