Commit 7cff2a32 authored by Ferhat Mihoubi's avatar Ferhat Mihoubi Committed by Stéphane Adjemian
Browse files

Get rid of extra space characters.

parent 2faca372
......@@ -145,6 +145,9 @@ switch S(1).type
error('dynSeries::subsref: I have no idea of what you are trying to do!')
case '{}'
if ischar(S(1).subs{1})
S(1).subs = strtrim(mat2cell(S(1).subs{1}, ones(1, size(S(1).subs{1},1)), size(S(1).subs{1},2)));
if iscellofchar(S(1).subs)
B = extract(A,S(1).subs{:});
elseif isequal(length(S(1).subs),1) && all(isint(S(1).subs{1}))
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