Fixed bug related to the type of initial_period.
parent
ec896d8ca7
commit
3b41aa0e60
|
@ -142,7 +142,7 @@ end
|
||||||
|
|
||||||
dyn2vec;
|
dyn2vec;
|
||||||
|
|
||||||
if isnan(options_.initial_period)
|
if ~isdates(options_.initial_period) && isnan(options_.initial_period)
|
||||||
initial_period = dates(1,1);
|
initial_period = dates(1,1);
|
||||||
else
|
else
|
||||||
initial_period = options_.initial_period;
|
initial_period = options_.initial_period;
|
||||||
|
|
Loading…
Reference in New Issue