Mercurial > octave
diff scripts/ode/ode15i.m @ 30895:360d330cc30e
don't change ode options.havejacfun (reverts part of e1788b1a315f)
* ode15i.m, ode15s.m: Revert change of havejacfun -> havejacfcn field
name used in options struct that is passed to __ode15__. If we change
that field, we'll also need to change __ode15__, possibly providing a
path for backward compatibility?
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 05 Apr 2022 01:06:00 -0400 |
parents | e1788b1a315f |
children | 260ce8667d96 |
line wrap: on
line diff
--- a/scripts/ode/ode15i.m Mon Apr 04 18:16:38 2022 -0700 +++ b/scripts/ode/ode15i.m Tue Apr 05 01:06:00 2022 -0400 @@ -172,7 +172,7 @@ ## Jacobian options.havejac = false; options.havejacsparse = false; - options.havejacfcn = false; + options.havejacfun = false; if (! isempty (options.Jacobian)) options.havejac = true; @@ -196,7 +196,7 @@ endif elseif (is_function_handle (options.Jacobian)) - options.havejacfcn = true; + options.havejacfun = true; if (nargin (options.Jacobian) == 3) [J1, J2] = options.Jacobian (trange(1), y0, yp0);