Commit 400a4da4 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Access the @dseries/pop method with dot notation. Fixed bug.

parent 824d1ed7
......@@ -90,13 +90,13 @@ switch S(1).type
B = feval(S(1).subs,A);
case {'cumsum','insert'} % Methods with less than three argument.
case {'cumsum','insert','pop'} % Methods with less than three argument.
if length(S)>1 && isequal(S(2).type,'()')
if isempty(S(2).subs)
B = feval(S(1).subs,A);
S = shiftS(S);
if length(S(2).subs{1})>2
if length(S(2).subs)>2
error(['dseries::subsref: ' S(1).subs{1} ' method admits no more than two arguments!'])
B = feval(S(1).subs,A,S(2).subs{:});
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