BUG DESCRIPTION:
----------------
Ode fails when %ODEOPTIONS(1)=2 (itask=2) in the call below y=ode(0,0,1,f), all components of y(2,:) are equal to y(2,$)
HOW TO REPRODUCE THE BUG:
-------------------------
function ydot=f(t, y)
ydot=y^2-y*sin(t)+cos(t)
endfunction
%ODEOPTIONS=[2,0,0,%inf,0,2,500,12,5,0,-1,-1];
y=ode(0,0,1,f)
y =
column 1 to 8
0.0000032 0.0000063 0.0004104 0.0008146 0.0016228 0.002431 0.0032393 0.0113217
0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036
column 9 to 16
0.0194041 0.0274865 0.0355689 0.0724517 0.1093346 0.1462175 0.1831004 0.2237057
0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036
column 17 to 24
0.264311 0.3049163 0.3455216 0.3861269 0.4844339 0.582741 0.6633981 0.7440553
0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036 0.8756036
column 25 to 28
0.8247124 0.9053696 0.9860267 1.0666839