-
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
Type weirdness in division of array by scalar (issue #14725 in julia) #198
Comments
Merged
wsshin
added a commit
to wsshin/StaticArrays.jl
that referenced
this issue
Aug 8, 2017
wsshin
added a commit
to wsshin/StaticArrays.jl
that referenced
this issue
Aug 8, 2017
wsshin
added a commit
to wsshin/StaticArrays.jl
that referenced
this issue
Aug 8, 2017
c42f
added a commit
that referenced
this issue
Nov 3, 2017
With this approach based on the eltype of tuple of computed elements, we get the correct dynamic result independently of whether inference can infer the return type. This fixes some of the residual issues from #198.
oschulz
pushed a commit
to oschulz/StaticArrays.jl
that referenced
this issue
Apr 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After the fix from JuliaLang/julia#14725 the element type of
a = Number[2, 2.0, 4//2, 2+0im] / 2
isNumber
but inStaticArrays
you getI guess it's just some promotion rules.
The text was updated successfully, but these errors were encountered: