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
ODEProblem(lorenz!,u0,tspan) needs to do a runtime check to determine if the function is in place / out of place. If you use ODEProblem{true}(lorenz!,u0,tspan) then everything is inferred properly.
Maybe I am missing something, but
@code_warntype
reports a type instability when setting up an ODEProblem:I am encountering this on Julia 1.9.3 with the newest version (OrdinaryDiffEq v6.55.0)
MWE:
from the tutorial:
Then I run @code_warntype:
It looks like it cannot figure out the return type.
The text was updated successfully, but these errors were encountered: