[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49918] No Stats available for ode15i, ode15s
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #49918] No Stats available for ode15i, ode15s |
Date: |
Wed, 4 Aug 2021 03:39:07 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.62 |
Update of bug #49918 (project octave):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #6:
Thanks for checking.
Both `ode15s` and `ode15i` output statistics for me if I pass the `odeset`
structure as an input with Octave 6.3.0 on Windows 10. Your (modified)
example:
function r = robertson_dae (T, Y, YP)
r = [ -(YP(1) + 0.04*Y(1) - 1e4*Y(2)*Y(3))
-(YP(2) - 0.04*Y(1) + 1e4*Y(2)*Y(3) + 3e7*Y(2)^2)
Y(1) + Y(2) + Y(3) - 1 ];
endfunction
o = odeset ('Stats', 'on');
[T,Y] = ode15i (@robertson_dae, [0, 1e3], [1; 0; 0], [-1e-4; 1e-4; 0], o);
That seems to have been fixed at some point in the past. Maybe dependent on
the version of SUNDIALS that Octave uses?
Closing as fixed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49918>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/