'ode' is not reenterable
Reported by Helmut Jarausch
-- Bug description --
'ode' is not reenterable
-- Scilab error message --
// !--error 22
// recursion problems. Sorry....
// at line 2 of function Alpha called by :
// Y= ode(1,0,2,alpha);
-- How to reproduce the bug --
// call ode within the rhs-function to a different ode call
function fz=alpha_rhs(t,z)
fz= -z; // exp(-t)
endfunction
function fy=Alpha(t,y)
fy= 2*ode(1,0,t,alpha_rhs) // should be 2*exp(-t)
endfunction
Y= ode(1,0,2,Alpha);