-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: remake
does not respect specialization
#925
Comments
remake
does not respect specialization
remake
does not respect specialization
It seems this was broken by #891: Prior to that PR, if |
@ChrisRackauckas is this a bug? Or is there some other way to achieve my desired behaviour? It is crucial for me to ensure that the problem (or rather the ODE function) uses |
This is a bug |
@AayushSabharwal can you prioritize a bit? |
Describe the bug 🐞
remake(prob; f=f)
drops the specialization of the provided functionf
. This is a regression compared with e.g. SciMLBase 2.38.0.Expected behavior
The function of the constructed problem should have the same specialization as
f
.Minimal Reproducible Example 👇
On the master branch:
With
[email protected]
on the other hand: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: