Fixed bug. The initial date, when not specified by the user, had wrong format.
parent
ff98f65cf6
commit
2c8b71ae05
|
@ -144,10 +144,11 @@ switch nargin
|
||||||
ts.last = ts.time(end,:);
|
ts.last = ts.time(end,:);
|
||||||
end
|
end
|
||||||
else% If b is empty.
|
else% If b is empty.
|
||||||
|
ts.freq = 1;
|
||||||
ts.init = 1;
|
ts.init = 1;
|
||||||
ts.last = ts.nobs;
|
ts.last = ts.nobs;
|
||||||
ts.freq = 1;
|
|
||||||
ts = set_time(ts);
|
ts = set_time(ts);
|
||||||
|
ts.init = ts.time(1,:);
|
||||||
ts.last = ts.time(end,:);
|
ts.last = ts.time(end,:);
|
||||||
end
|
end
|
||||||
% Get the names of the variables.
|
% Get the names of the variables.
|
||||||
|
|
Loading…
Reference in New Issue