dynDates: add end keyword

remove-priordens
Houtan Bastani 2013-04-02 11:12:00 +02:00
parent 33e80b5816
commit 7068bc4f80
1 changed files with 2 additions and 2 deletions

View File

@ -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;