|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #60240] Jacobian for ode15s as matrix fails |
Date: | Sat, 20 Mar 2021 09:22:06 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.57 |
Update of bug #60240 (project octave): Status: None => Confirmed Operating System: GNU/Linux => Any _______________________________________________________ Follow-up Comment #2: @hg200: Both solutions you propose sound fine to me. Because `__ode15__` might be called by other functions as well (and IIRC it is used by at least one Octave Forge package), I'm leaning towards defining a reasonable default value for the mass matrix in that function (maybe using `octave::identity_matrix`). Maybe the `set_jacobian` function would be a good place to do that? Could the same occur for sparse matrices? Could you please prepare a changeset? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60240> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |