Commit 4dfd6bfb authored by Houtan Bastani's avatar Houtan Bastani
Browse files

dynSeries bug fix: add time to date slice

parent b1abf170
......@@ -98,6 +98,7 @@ if length(S)==1 && isequal(S.type,'()')
[junk,tdx] = intersect(ts.time.time,S.subs{1}.time,'rows');
us = dynSeries();
us.data = ts.data(tdx,:);
us.time = ts.time(tdx,:);
us.name = deblank(ts.name);
us.tex = deblank(ts.tex);
us.nobs = length(tdx);
......
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