Skip to content
Snippets Groups Projects
Commit 010a8762 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: ensure tableRowIndent is ge 0

parent 1e4c2e08
Branches
Tags
No related merge requests found
...@@ -56,7 +56,8 @@ end ...@@ -56,7 +56,8 @@ end
assert(ischar(o.tableNegColor), '@report_series.writeSeriesForTable: tableNegColor must be a string'); assert(ischar(o.tableNegColor), '@report_series.writeSeriesForTable: tableNegColor must be a string');
assert(ischar(o.tablePosColor), '@report_series.writeSeriesForTable: tablePosColor must be a string'); assert(ischar(o.tablePosColor), '@report_series.writeSeriesForTable: tablePosColor must be a string');
assert(ischar(o.tableRowColor), '@report_series.writeSeriesForTable: tableRowColor must be a string'); assert(ischar(o.tableRowColor), '@report_series.writeSeriesForTable: tableRowColor must be a string');
assert(isint(o.tableRowIndent), '@report_series.writeSeriesForTable: tableRowIndent must be an integer'); assert(isint(o.tableRowIndent) && o.tableRowIndent >= 0, ...
'@report_series.writeSeriesForTable: tableRowIndent must be an integer >= 0');
assert(islogical(o.tableShowMarkers), '@report_series.writeSeriesForTable: tableShowMarkers must be true or false'); assert(islogical(o.tableShowMarkers), '@report_series.writeSeriesForTable: tableShowMarkers must be true or false');
assert(islogical(o.tableAlignRight), '@report_series.writeSeriesForTable: tableAlignRight must be true or false'); assert(islogical(o.tableAlignRight), '@report_series.writeSeriesForTable: tableAlignRight must be true or false');
assert(isfloat(o.tableMarkerLimit), '@report_series.writeSeriesForTable: tableMarkerLimit must be a float'); assert(isfloat(o.tableMarkerLimit), '@report_series.writeSeriesForTable: tableMarkerLimit must be a float');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment