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
Container registry
Model registry
Operate
Environments
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
Dynare
dynare
Commits
c52d9604
Verified
Commit
c52d9604
authored
3 years ago
by
Marco Ratto
Committed by
Sébastien Villemot
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fixed index of variable names defined more than once
(cherry picked from commit
bad52b29
)
parent
82572c87
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/varlist_indices.m
+1
-1
1 addition, 1 deletion
matlab/varlist_indices.m
with
1 addition
and
1 deletion
matlab/varlist_indices.m
+
1
−
1
View file @
c52d9604
...
...
@@ -65,7 +65,7 @@ if length(i_var_unique_present)~=nvar_present
k
=
find
(
~
ismember
((
1
:
length
(
i_var
))
'
,
index_unique_present
)
&
i_var
~=
0
);
str
=
'The following symbols are specified twice in the variable list and are considered only once:'
;
for
ii
=
1
:
length
(
k
)
str
=
sprintf
(
'%s %s'
,
str
,
sublist
{
i_var
(
k
(
ii
)
)
});
str
=
sprintf
(
'%s %s'
,
str
,
sublist
{
k
(
ii
)});
end
warning
(
'%s\n'
,
str
)
end
...
...
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