-
Notifications
You must be signed in to change notification settings - Fork 3
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
Handle StaticArrays? #144
Comments
Your linked comment points out the issue:
We overload This is a general issue with array overloads since LinearAlgebra uses array-level types as traits for dispatch (e.g. We could solve this problem by sticking our array overloads in a big loop over different array types. |
I guess we could start by supporting types form StaticArrays as well as common LinearAlgebra matrix types? |
Yeah but where does it stop? |
Also I don't want StaticArrays in the main dependencies so we might have to make the loop parametric and handle static types in a package extension. |
Closing in favor of the more general discussion in #192. |
See JuliaSmoothOptimizers/ADNLPModels.jl#247 (comment)
The text was updated successfully, but these errors were encountered: