octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57351] str2func no longer emits error on non-


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57351] str2func no longer emits error on non-existent function input
Date: Tue, 4 Feb 2020 03:27:43 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Follow-up Comment #9, bug #57351 (project octave):

Some of the BISTs for ode15s are failing. This might be related to the last
change here.

>>>>> processing
/scratch/buildbot/workers/jwe-debian-x86_64-2/gcc-7-debian/src/scripts/ode/ode15s.m
***** testif HAVE_SUNDIALS
 opt = odeset ("MStateDependence", "none",
               "Mass", [1, 0, 0; 0, 1, 0; 0, 0, 0]);
 [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
 assert ([t(end), y(end,:)], frefrob, 1e-3);
!!!!! test failed
ode15s: invalid value assigned to field 'Mass'
***** testif HAVE_SUNDIALS
 opt = odeset ("MStateDependence", "none",
               "Mass", sparse ([1, 0, 0; 0, 1, 0; 0, 0, 0]));
 [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
 assert ([t(end), y(end,:)], frefrob, 1e-3);
!!!!! test failed
ode15s: invalid value assigned to field 'Mass'
***** testif HAVE_SUNDIALS
 opt = odeset ("MStateDependence", "none",
               "Mass", [1, 0, 0; 0, 1, 0; 0, 0, 0],
               "Jacobian", "jacfundense");
 [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
 assert ([t(end), y(end,:)], frefrob, 1e-3);
!!!!! test failed
ode15s: invalid value assigned to field 'Mass'
***** testif HAVE_SUNDIALS
 opt = odeset ("MStateDependence", "none",
               "Mass", sparse ([1, 0, 0; 0, 1, 0; 0, 0, 0]),
               "Jacobian", @jacfundense);
 [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
 assert ([t(end), y(end,:)], frefrob, 1e-3);
!!!!! test failed
ode15s: invalid value assigned to field 'Mass'
***** testif HAVE_SUNDIALS
 opt = odeset ("Mass", eye (2,2), "MStateDependence", "none");
 sol = ode15s (@fpol, [0, 2], [2, 0], opt);
 assert ([sol.x(end), sol.y(end,:)], [2, fref], 3e-3);
!!!!! test failed
ode15s: invalid value assigned to field 'Mass'
***** testif HAVE_SUNDIALS
 opt = odeset ("Mass", speye (2), "MStateDependence", "none");
 sol = ode15s (@fpol, [0, 2], [2, 0], opt);
 assert ([sol.x(end), sol.y(end,:)], [2, fref], 3e-3);
!!!!! test failed
ode15s: invalid value assigned to field 'Mass'



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57351>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]