-
-
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
precision(Union{Float16,Float32})
recurs without bound (until StackOverflowError
)
#52909
Labels
bug
Indicates an unexpected problem or unintended behavior
Comments
This should probably error from the start. Probably even a method error |
nsajko
added a commit
to nsajko/julia
that referenced
this issue
Jan 15, 2024
Make the single-argument method of `_precision` into its own function. Now `precision(Union{Float16,Float32})` results in a `MethodError` instead of in a `StackOverflowError`. Fixes JuliaLang#52909
nsajko
added a commit
to nsajko/julia
that referenced
this issue
Jan 15, 2024
Make the single-argument method of `_precision` into its own function. Now `precision(Union{Float16,Float32})` results in a `MethodError` instead of in a `StackOverflowError`. Fixes JuliaLang#52909
nsajko
added a commit
to nsajko/julia
that referenced
this issue
Jan 17, 2024
Make the single-argument method of `_precision` into its own function. Now `precision(Union{Float16,Float32})` will result in a `MethodError` instead of in a `StackOverflowError`. Fixes JuliaLang#52909
gbaraldi
pushed a commit
that referenced
this issue
Jan 23, 2024
Make the single-argument method of `_precision` into its own function. Now `precision(Union{Float16,Float32})` results in a `MethodError` instead of in a `StackOverflowError`. Fixes #52909
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix incoming.
The text was updated successfully, but these errors were encountered: