-
Notifications
You must be signed in to change notification settings - Fork 149
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
StaticArraysCore transition #1045
Conversation
Will the docstrings for |
Good point, they are currently not. I'll try to fix it. |
With the last commit the docstrings show for me locally in the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
import StaticArraysCore: SizedArray, SizedVector, SizedMatrix | ||
import StaticArraysCore: check_array_parameters, convert_ntuple | ||
|
||
# end of StaticArraysCore imports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the (re)-exports below to this block too maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, done.
Could you add some docs about this? I.e. describe why it is split like this and that if you just want to add dispatch for StaticArrays you can depend only on the core package (I guess this is the main reason for this split?) |
Sure, I'll add some docs about this split. The motivation is primarily covered in this comment: #1023 (comment) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
I remember it being mentioned that StaticArrays.LU
and StaticArrays.QR
are also being extended by downstream packages; but it would probably be better to just completely drop those rather than to include them in StaticArraysCore.jl at all.
Co-authored-by: Thomas Christensen <tchr@mit.edu>
Extending QR and LU from StaticArrays.jl seems like a rare use case so maybe let's leave it in StaticArrays.jl for now. We can always move them to StaticArraysCore.jl later without any breaking changes. |
Is this going to be StaticArrays v1.5.0 ? |
Yes, I'll tag it in a moment. |
Thanks! |
This PR implements transition to StaticArraysCore.jl, an interface package, as discussed here: #1023 .