From 70969e4e465a9599f5642d772d1462e731727b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 24 Oct 2013 14:55:37 +0200 Subject: [PATCH] Use @dates/double as a method. --- matlab/@dates/subsref.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/@dates/subsref.m b/matlab/@dates/subsref.m index 789c63d3a..6ceaf8396 100644 --- a/matlab/@dates/subsref.m +++ b/matlab/@dates/subsref.m @@ -37,7 +37,7 @@ switch S(1).type error(['dates::subsref: ' S(1).subs ' is not a method but a member!']) end B = builtin('subsref', A, S(1)); - case {'sort','unique'}% Public methods (without arguments) + case {'sort','unique','double'}% Public methods (without arguments) B = feval(S(1).subs,A); if length(S)>1 && isequal(S(2).type,'()') && isempty(S(2).subs) S = shiftS(S);