Skip to content
Snippets Groups Projects
Commit bdee85f0 authored by Marco Ratto's avatar Marco Ratto Committed by Stéphane Adjemian
Browse files

fixed bug to logical if condition

(cherry picked from commit a7bc6414)
parent 9eb01eae
Branches
Tags
No related merge requests found
......@@ -80,7 +80,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