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

Don't promote to float in norm(::Number). #36086

Closed
wants to merge 1 commit into from
Closed

Conversation

andreasnoack
Copy link
Member

Fixes JuliaLang/LinearAlgebra.jl#734. See JuliaLang/LinearAlgebra.jl#431, #22146, and JuliaLang/LinearAlgebra.jl#693 for discussions of the generic LU.

I decided to make ModInt{n} and subtype of Number the tests such that it actually hits the norm(::Number) fallback. The Number abstract type assumes almost no structure so I think it should be fine for any number like thing to be a subtype of Number.

@andreasnoack
Copy link
Member Author

This can't work. I'd forgotten JuliaLang/LinearAlgebra.jl#593. See also the discussion in JuliaLang/LinearAlgebra.jl#575

@andreasnoack andreasnoack deleted the an/norm branch June 1, 2020 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inverse of matrices over arbitrary fields stopped working in julia1.5.0-beta1
1 participant