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
using DifferentialEquations
prob =ODEProblem((dx,x,p,t)->(dx.=0), (p,t)->zeros(2), (0,10))
solve(prob, TRBDF2())
Interestingly, other cases do work; it seems to be the combination of an implicit solver, in-place function, more than one state variable (length(x) > 1), and providing the initial state via a function. Explicitly, all the following formulations work fine:
Julia 1.8.2, DiffEq 7.6.0. The following fails:
Interestingly, other cases do work; it seems to be the combination of an implicit solver, in-place function, more than one state variable (
length(x) > 1
), and providing the initial state via a function. Explicitly, all the following formulations work fine:Also, the original, failing formulation does work when not specifying the solver, i.e. using the default one:
Edit: Also when explicitly setting the specialization to either
NoSpecialize
orFullSpecialize
, there is no error, e.g.:Which is obvious since then no wrapping occurs.
The text was updated successfully, but these errors were encountered: