subsref: remove unnecessary check (isnt() implies isnumeric())

parent cd4f22bf
......@@ -184,7 +184,7 @@ switch S(1).type
else
error('dseries::subsref: dseries object is not empty!')
end
elseif isscalar(S(1).subs{1}) && isnumeric(S(1).subs{1}) && isint(S(1).subs{1})
elseif isscalar(S(1).subs{1}) && isint(S(1).subs{1})
% Input is also interpreted as a backward/forward operator
if S(1).subs{1}>0
r = feval('lead', o, S(1).subs{1});
......
Markdown is supported
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