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

reporting: fix if statement for changes in dynDates/dates class

(cherry picked from commit 08199dc8)
parent 8bf98fc1
Branches
Tags
No related merge requests found
......@@ -64,7 +64,7 @@ assert(isempty(xrange) || isa(xrange, 'dates'));
assert(isfloat(o.zerotol), '@report_series.write: zerotol must be a float');
%%
if isempty(xrange) || xrange == o.data.dates
if isempty(xrange) || all(xrange == o.data.dates)
ds = o.data;
else
ds = o.data(xrange);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment