simplify code

remove-priordens
Houtan Bastani 2019-08-09 11:40:30 -04:00
parent cac8231f48
commit 0e935918c6
1 changed files with 2 additions and 4 deletions

View File

@ -67,11 +67,9 @@ for i = 1:nrows
end
if ~isempty(o.tableSubSectionHeader)
fprintf(fid, '\\textbf{%s}', o.tableSubSectionHeader);
for i=1:ncols-1
fprintf(fid, ' &');
end
fprintf(fid, '%s', repmat(' &', 1, ncols-1));
fprintf(fid, '\\\\%%\n');
return;
return
end
if o.tableAlignRight
fprintf(fid, '\\multicolumn{1}{r}{');