Commit 0419aa00 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Cosmetic change (use isdates routine).

parent 8eb45edb
......@@ -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
......
Supports Markdown
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