Skip to content
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 in creation of SArray #13

Closed
KristofferC opened this issue Aug 11, 2016 · 2 comments
Closed

conversion in creation of SArray #13

KristofferC opened this issue Aug 11, 2016 · 2 comments

Comments

@KristofferC
Copy link
Contributor

KristofferC commented Aug 11, 2016

This could be made to work by calling convert on each element in the input vector.

SVector{5, Float32}(rand(Float64, 5))
@andyferris
Copy link
Member

Hmm... I thought I had this one covered... I'll fix that. BTW, convert works fine.

@andyferris
Copy link
Member

Right, I found what was missing. That was on my mental to-do list some time ago, but I guess I never got around to it!

oschulz pushed a commit to oschulz/StaticArrays.jl that referenced this issue Apr 4, 2023
* added kwarg constructor

* test inference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants