Commit cb6a0130 authored by Houtan Bastani's avatar Houtan Bastani

simplify code

parent 267bec0a
Pipeline #1589 failed with stage
in 24 seconds
......@@ -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}{');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment