changeset 26153:7bd67e786e5f

decic.m: Fix failing BIST test. * decic.m: Use "FinDiffType"="central" in options to fminunc. Remove "display" property from list of options passed to fminunc.
author Rik <rik@octave.org>
date Fri, 30 Nov 2018 15:46:27 -0800
parents b68c41cb0f99
children af655eb15cdc
files scripts/ode/decic.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ode/decic.m	Fri Nov 30 20:29:28 2018 +0100
+++ b/scripts/ode/decic.m	Fri Nov 30 15:46:27 2018 -0800
@@ -162,7 +162,7 @@
   endif
 
   x0 = [y0(! fixed_y0); yp0(! fixed_yp0)];
-  opt = optimset ("tolfun", TolFun, "tolx", TolX, "display", "iter-detailed");
+  opt = optimset ("tolfun", TolFun, "tolx", TolX, "FinDiffType", "central");
   x = ...
     fminunc (@(x) objective (x, t0, y0, fixed_y0, yp0, fixed_yp0, nl, nu, fun),
              x0, opt);