Commit 51c4eb6c authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

parent fa4ad711
......@@ -122,7 +122,7 @@ switch S(1).type
B.nobs = length(tdx);
B.vobs = A.vobs;
B.freq = A.freq;
B.init = A.init+tdx(1);
B.init = A.init+(tdx(1)-1);
B.time = A.time(tdx,:);
elseif isvector(S(1).subs{1}) && all(isint(S(1).subs{1}))
% Extract a subsample using a vector of integers (observation index).
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