Incorrect solution.stats.nf
in implicit methods on SecondOrderODEProblem
s
#2537
Labels
solution.stats.nf
in implicit methods on SecondOrderODEProblem
s
#2537
Describe the bug 🐞
On
SecondOrderODEProblem
s, the reported number of function evaluations insol.stats.nf
is incorrect for some implicit methods. This is probably linked to the Jacobian computation, as settingautodiff=false
fixes this.Minimal Reproducible Example 👇
Here is a small test function to evaluate a given algorithm
We can then try a bunch of different solvers:
So since only the two implicit methods fail, and
autodiff=false
fixes this, this issue is most likely linked to the Jacobian computation.Environment:
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
The text was updated successfully, but these errors were encountered: