-
Notifications
You must be signed in to change notification settings - Fork 147
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
Conversion to Static arrays #36
Comments
This is unimplemented because it work would lead to a performance trap - the output shape (and hence type) of |
Is this covered in the read me? Might be a good idea. @jw3126 try |
Yeah, I understand the type instability trap. I was porting some code from |
Is now: https://github.com/JuliaArrays/StaticArrays.jl#conversions-from-array |
Thanks Chris; looks good. :) |
There are now also docstrings and the "quick start" part of the README explaining this, as well as a decent error message. Hopefully this will reduce the volume of this request somewhat. |
Nice @andyferris, this is a lot better. |
* add convert method for StructVector * rename to default_array
Currently there is no conversion from Base Arrays to static arrays:
Is there a good reason not to have such conversion?
The text was updated successfully, but these errors were encountered: