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

reporting: fix typo

parent eae3f2fe
Branches
Tags
No related merge requests found
...@@ -63,10 +63,10 @@ end ...@@ -63,10 +63,10 @@ end
% Check options provided by user % Check options provided by user
if ischar(o.title) if ischar(o.title)
o.title = {o.title} o.title = {o.title};
end end
if ischar(o.title_format) if ischar(o.title_format)
o.title_format = {o.title_format} o.title_format = {o.title_format};
end end
assert(iscellstr(o.title), ... assert(iscellstr(o.title), ...
'@page.page: title must be a cell array of strings'); '@page.page: title must be a cell array of strings');
...@@ -84,7 +84,7 @@ assert(any(strcmp(o.orientation, valid_orientation)), ... ...@@ -84,7 +84,7 @@ assert(any(strcmp(o.orientation, valid_orientation)), ...
['@page.page: orientation must be one of ' strjoin(valid_orientation, ' ')]); ['@page.page: orientation must be one of ' strjoin(valid_orientation, ' ')]);
if ischar(o.footnote) if ischar(o.footnote)
o.footnote = {o.footnote} o.footnote = {o.footnote};
end end
assert(iscellstr(o.footnote), ... assert(iscellstr(o.footnote), ...
'@page.page: footnote must be a cell array of string(s)'); '@page.page: footnote must be a cell array of string(s)');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment