From 0419aa00e2591dcf2f94313b1285405fa545bdc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Scylla=29?= Date: Fri, 29 Nov 2013 15:50:00 +0100 Subject: [PATCH] Cosmetic change (use isdates routine). --- matlab/@dates/pop.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/@dates/pop.m b/matlab/@dates/pop.m index 4efb7ec9e..2aec07a40 100644 --- a/matlab/@dates/pop.m +++ b/matlab/@dates/pop.m @@ -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