diff --git a/matlab/utilities/general/name2tex.m b/matlab/utilities/general/name2tex.m index a8369e68e..50d9d3a98 100644 --- a/matlab/utilities/general/name2tex.m +++ b/matlab/utilities/general/name2tex.m @@ -25,14 +25,11 @@ end if iscell(name) nn = length(name); + tex = cell(nn,1); else nn = 1; end -if iscell(name) - tex = cell(nn,1); -end - for i=1:nn if info if iscell(name)