diff --git a/matlab/reporting/src/@report_series/writeSeriesForTable.m b/matlab/reporting/src/@report_series/writeSeriesForTable.m index f6e4d256e..16706503f 100644 --- a/matlab/reporting/src/@report_series/writeSeriesForTable.m +++ b/matlab/reporting/src/@report_series/writeSeriesForTable.m @@ -86,7 +86,7 @@ if ~isempty(o.tableSubSectionHeader) fprintf(fid, ' &'); end fprintf(fid, '\\\\%%\n'); - return; + return end if o.tableAlignRight fprintf(fid, '\\multicolumn{1}{r}{'); diff --git a/matlab/reporting/src/@report_table/report_table.m b/matlab/reporting/src/@report_table/report_table.m index 8a44e985e..4b8fa1799 100644 --- a/matlab/reporting/src/@report_table/report_table.m +++ b/matlab/reporting/src/@report_table/report_table.m @@ -195,7 +195,7 @@ tf = true; for i=1:length(dcell) if ~(isdates(dcell{i}) && dcell{i}.ndat >= 2) tf = false; - return; + return end end end @@ -235,7 +235,7 @@ tf = true; for i=1:length(dcell) if ~isdates(dcell{i}) tf = false; - return; + return end end end