Do not impose the equality between the initial period as defined by the set_time command and the date of the initial observation defined in the datafile or dseries object.

time-shift
Stéphane Adjemian (Scylla) 2014-06-19 18:02:31 +02:00
parent c4dac88ed2
commit f5c2027e18
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ end
if ~set_time_default_initial_period && ~dataset_default_initial_period
% Check if dataset.init and options_.initial_period are identical.
if ~isequal(DynareOptions.initial_period, DynareDataset.init)
if DynareOptions.initial_period>DynareDataset.init
%if ~isequal(DynareOptions.initial_period, DynareDataset.init)
error('The date as defined by the set_time command is not consistent with the initial period in the database!')
end
end