Mercurial > octave-nkf
view test/bug-38565.tst @ 20637:756b052037fb
avoid stepping beyond end of thspan in ode solvers
* scripts/ode/private/integrate_adaptive.m: make sure
not to step beyound end of tspan.
author | Carlo de Falco <carlo.defalco@polimi.it> |
---|---|
date | Sun, 11 Oct 2015 20:39:11 +0200 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");