Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment