Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
c593b78e
Commit
c593b78e
authored
10 years ago
by
Stéphane Adjemian
Browse files
Options
Downloads
Plain Diff
Merge pull request #958 from JohannesPfeifer/unique_data_check
Add check for unique data entries in dataset
parents
d39eb4d9
5d8da65e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/utilities/dataset/makedataset.m
+4
-0
4 additions, 0 deletions
matlab/utilities/dataset/makedataset.m
with
4 additions
and
0 deletions
matlab/utilities/dataset/makedataset.m
+
4
−
0
View file @
c593b78e
...
@@ -110,6 +110,10 @@ else
...
@@ -110,6 +110,10 @@ else
clear
(
'dseriesobjectforuserdataset'
);
clear
(
'dseriesobjectforuserdataset'
);
end
end
if
size
(
unique
(
DynareDataset
.
name
),
1
)
~=
size
(
DynareDataset
.
name
,
1
)
error
(
'makedataset: the data set must not contain two variables with the same name and must not contain empty/non-named columns.'
)
end
% Select a subset of the variables.
% Select a subset of the variables.
DynareDataset
=
DynareDataset
{
DynareOptions
.
varobs
{:}};
DynareDataset
=
DynareDataset
{
DynareOptions
.
varobs
{:}};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment