Use @dates/double as a method.

time-shift
Stéphane Adjemian (Charybdis) 2013-10-24 14:55:37 +02:00
parent ed9babae26
commit 70969e4e46
1 changed files with 1 additions and 1 deletions

View File

@ -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);