Skip to content
Snippets Groups Projects
Commit f5c2027e authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Do not impose the equality between the initial period as defined by the...

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.
parent c4dac88e
Branches
Tags
No related merge requests found
...@@ -123,7 +123,8 @@ end ...@@ -123,7 +123,8 @@ end
if ~set_time_default_initial_period && ~dataset_default_initial_period if ~set_time_default_initial_period && ~dataset_default_initial_period
% Check if dataset.init and options_.initial_period are identical. % 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!') error('The date as defined by the set_time command is not consistent with the initial period in the database!')
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment