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
......@@ -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)!')
error('makedataset: You have to specify the datafile!')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment