Skip to content
Snippets Groups Projects
Commit a7bc6414 authored by Marco Ratto's avatar Marco Ratto
Browse files

fixed bug to logical if condition

parent 127a543b
Branches
Tags
1 merge request!1592small bug fixes
......@@ -81,7 +81,7 @@ elseif isempty(DynareOptions.datafile) && ~isempty(DynareOptions.dataset.series)
elseif ~isempty(DynareOptions.datafile) && isempty(DynareOptions.dataset.file)
datafile = DynareOptions.datafile;
newdatainterface = 0;
elseif isempty(DynareOptions.datafile) && ~isempty(DynareOptions.dataset.file)
elseif ~isempty(DynareOptions.datafile) && ~isempty(DynareOptions.dataset.file)
error('makedataset: You cannot simultaneously use the data command and the datafile option (in the estimation command)!')
else
error('makedataset: You have to specify the datafile!')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment