Commit 240b6f57 authored by Houtan Bastani's avatar Houtan Bastani

fix bug in report constructor

parent b0d47ac3
Pipeline #1661 failed with stage
in 51 seconds
......@@ -47,7 +47,7 @@ o.header = '';
if nargin == 1
assert(isa(varargin{1}, 'report'), ['@report.report: with one arg, ' ...
'you must pass a report object']);
r = varargin{1};
o = varargin{1};
return;
elseif nargin > 1
if round(nargin/2) ~= nargin/2
......
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