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

dynDates: add end keyword

parent 33e80b58
Branches
Tags
No related merge requests found
......@@ -26,10 +26,10 @@ for i=1:ne
ddt = a.getRange();
if isempty(ddmin)
ddmin = ddt(1);
ddmax = ddt(size(ddt));
ddmax = ddt(end);
else
ddmin = min(ddt(1), ddmin);
ddmax = max(ddt(size(ddt)), ddmax);
ddmax = max(ddt(end), ddmax);
end
end
dd = ddmin:ddmax;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment