Wrapping an ODE solution in a struct and passing it to a secondary ODE problem as a parameter causes an anyeltypedual error.
Expected behavior
It's common in my field to solve an ODE (the background) and then solve another that depends on it (the perturbation). In this case, the RHS of the perturbative ODE depends on the solution to the background ODE. I think this works in 1.9, but errors in 1.10.
Describe the bug 🐞
Wrapping an ODE solution in a struct and passing it to a secondary ODE problem as a parameter causes an
anyeltypedual
error.Expected behavior
It's common in my field to solve an ODE (the background) and then solve another that depends on it (the perturbation). In this case, the RHS of the perturbative ODE depends on the solution to the background ODE. I think this works in 1.9, but errors in 1.10.
Minimal Reproducible Example 👇
Error & Stacktrace ⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context