bug in concatenation of dseries with non-overlapping dates
To reproduce the error, run the following:
a=dseries(rand(10,1), '1999q2','var1');
b=dseries(rand(10,1), '1999q1', 'var2');
c=[a b];
b
Here, c
is correct, but typing a
or b
after the concatenation results in the error:
Error using dates/subsref (line 162)
dates::subsref: indices has to be a vector of positive integers less than or equal to 10!
Error in dseries/display (line 46)
TABLE = char(TABLE, date2string(o.dates(t)));