Commit 5d8da65e authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Add check for unique data entries in dataset

Leads to cryptic crashes if not filtered out
parent 41155369
......@@ -110,6 +110,10 @@ else
if size(unique(,1)~=size(,1)
error('makedataset: the data set must not contain two variables with the same name and must not contain empty/non-named columns.')
% Select a subset of the variables.
DynareDataset = DynareDataset{DynareOptions.varobs{:}};
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