French error messages in ode
Reported by Mizue Horiuchi
-- Bug description --
I got an error message in French when I used "ode" function although my Scilab is English version.
-- Scilab error message --
intdy-- t (=r1) illegal
where r1 is : 0.0000000000000D+00
t n est pas entre tcur - hu (= r1) et tcur (=r2)
where r1 is : 0.1905273208834D+00 and r2 : 0.1056552724668D+01
lsode-- problems in intdy. itask=i1,tout=r1
where i1 is : 1
where r1 is : 0.0000000000000D+00
!--error 9999
illegal input
-- How to reproduce the bug --
function du = ode_test(t,u)
if t>=2 & t<=2.8 then
flag1=1
else
flag1=0
end
du(1) = flag1*u(1) // input conditional by the set of the flag
du(2) = flag1 // flag rate
du(3) = 1// counter
endfunction
u=ode("stiff",[0.01;0;0],0,t,rtol=1e-12,atol=1e-12,ode_test)