You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using GaussAdjoint() as the sensitivity algorithm, and ODEProblem with a discrete callback fails with a method error. Based on the stacktrace it seems to be a problem related to handling of the callbacks?
Expected behavior
I expect GaussAdjoint to be compatible with this problem.
Minimal Reproducible Example 👇
The minimal example is taken almost directly from the SciMLSensitivity tests (hybrid_de.jl). The only change is that the sensitivity algorithm is changed from ReverseDiffAdjoint() to GaussAdjoint(autojacvec=EnzymeVJP())
Describe the bug 🐞
When using
GaussAdjoint()
as the sensitivity algorithm, and ODEProblem with a discrete callback fails with a method error. Based on the stacktrace it seems to be a problem related to handling of the callbacks?Expected behavior
I expect
GaussAdjoint
to be compatible with this problem.Minimal Reproducible Example 👇
The minimal example is taken almost directly from the SciMLSensitivity tests (
hybrid_de.jl
). The only change is that the sensitivity algorithm is changed fromReverseDiffAdjoint()
toGaussAdjoint(autojacvec=EnzymeVJP())
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
The text was updated successfully, but these errors were encountered: