Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
......@@ -145,6 +145,9 @@ switch S(1).type
error('dynSeries::subsref: I have no idea of what you are trying to do!')
end
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)));
end
if iscellofchar(S(1).subs)
B = extract(A,S(1).subs{:});
elseif isequal(length(S(1).subs),1) && all(isint(S(1).subs{1}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment