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

Add LinearAlgebra.normalize fallback for scalars (#44835) #44925

Merged
merged 5 commits into from
Apr 25, 2022

Conversation

mikerouleau
Copy link
Contributor

@mikerouleau mikerouleau commented Apr 9, 2022

Adds fallback methods LinearAlgebra.normalize(x), LinearAlgebra.normalize(x,p::Real) and related tests. These are particularly useful when x is a scalar (closes JuliaLang/LinearAlgebra.jl#920).

@ViralBShah ViralBShah added the linear algebra Linear algebra label Apr 11, 2022
@stevengj stevengj added the needs news A NEWS entry is required for this change label Apr 12, 2022
@stevengj
Copy link
Member

Thanks! Needs an entry in NEWS.md since this is a new feature.

NEWS.md Outdated Show resolved Hide resolved
@stevengj stevengj removed the needs news A NEWS entry is required for this change label Apr 12, 2022
@dkarrasch
Copy link
Member

The Windows CI processes timed out. Shall we merge this as is or first rebase and give CI another chance?

@mikerouleau
Copy link
Contributor Author

@dkarrasch That's probably not a decision for me, but I'm fine either way. What generally would cause the windows CI to time out in this manner? It doesn't look related to anything in this PR and I don't see anything explicitly failing.

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.

LinearAlgebra.normalize(x) should work for scalars
5 participants