Open topolarity opened 8 months ago
Without saveat
the interpolation is also quite cursed:
julia> sol = solve(prob, IDA())
julia> t′ = 0.0:1e-3:2π
julia> plot(sol(t′, Val{1}))
This seems pretty inherent to Sundials since we don't (can't?) recreate its internal polynomial.
Describe the bug 🐞
If
saveat
is provided tosolve()
when using IDA, the resulting derivative values appear to have strong discontinuities.Minimal Reproducible Example 👇
Environment (please complete the following information):
using Pkg; Pkg.status()
Additional context
Kudos to @oscardssmith for finding this one.