Commit 6541ce23 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug in @dynSeries/extract method (missing time member).

parent 59f436dc
......@@ -49,10 +49,11 @@ for i = 1:length(idVariableName)
if isempty(idx)
error(['dynSeries::extract: Variable ' VariableName_{i} ' is not a member of ' inputname(1) '!'])
end
idVariableName(i) = idx;
idVariableName(i) = idx;
end
A.data = B.data(:,idVariableName);
A.time = B.time;
A.init = B.init;
A.freq = B.freq;
A.nobs = B.nobs;
......
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