Commit 2c8b71ae authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by Stéphane Adjemian
Browse files

Fixed bug. The initial date, when not specified by the user, had wrong format.

parent ff98f65c
......@@ -144,10 +144,11 @@ switch nargin
ts.last = ts.time(end,:);
end
else% If b is empty.
ts.freq = 1;
ts.init = 1;
ts.last = ts.nobs;
ts.freq = 1;
ts = set_time(ts);
ts.init = ts.time(1,:);
ts.last = ts.time(end,:);
end
% Get the names of the variables.
......
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