Skip to content
Snippets Groups Projects
Verified Commit c52d9604 authored by Marco Ratto's avatar Marco Ratto Committed by Sébastien Villemot
Browse files

fixed index of variable names defined more than once

(cherry picked from commit bad52b29)
parent 82572c87
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment