-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
median and median! are type unstable for floats other than Float64 #29900
Comments
Good catch! Should definitely be fixed. Even if the compiler is smart enough that this isn't a total performance tragedy anymore, there's no reason for a spurious type instabilities like this and we do want to make sure that the result type is fully predictable. |
andreasnoack
added a commit
that referenced
this issue
Nov 2, 2018
Wow that was fast! Thanks! |
StefanKarpinski
added a commit
that referenced
this issue
Nov 2, 2018
andreasnoack
added a commit
that referenced
this issue
Nov 5, 2018
KristofferC
pushed a commit
that referenced
this issue
Nov 12, 2018
tkf
pushed a commit
to tkf/julia
that referenced
this issue
Nov 21, 2018
KristofferC
pushed a commit
that referenced
this issue
Dec 12, 2018
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
KristofferC
pushed a commit
that referenced
this issue
Feb 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Julia 1.0.1 official,
median
appears to be type unstable forFloat32
inputs. I'm not sure if this is actually a problem.The text was updated successfully, but these errors were encountered: