Commit 6f915005 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed missing tags member when extracting a single variable.

parent 28e3ba21
......@@ -179,6 +179,10 @@ switch S(1).type
B.tex = A.tex(ndx);
B.dates = A.dates;
B.ops = A.ops(ndx);
tagnames = fieldnames(A.tags);
for i=1:length(tagnames)
B.tags.(tagnames{i}) = A.tags.(tagnames{i})(ndx);
end
else
error('dseries::subsref: Unknown public method, public member or variable!')
end
......
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