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

Expand signature of normalize from StaticVector to StaticArray (fixes #887) #945

Merged
merged 3 commits into from
Aug 7, 2021

Conversation

thchr
Copy link
Collaborator

@thchr thchr commented Jul 28, 2021

Fixes #887 in the simplest way possible.

Note that the existing normalize implementation doesn't have many guard-rails (e.g., no over/underflow detection) and normalize! has some rough edges (e.g., doesn't work for arrays with Int eltype) - but I figured I'd just keep this to the scope of #887.

@mateuszbaran
Copy link
Collaborator

Could you bump the patch version? I'll merge this.

@thchr
Copy link
Collaborator Author

thchr commented Aug 7, 2021

Sure, done!

@thchr
Copy link
Collaborator Author

thchr commented Aug 7, 2021

As an aside: #944 should be pretty harmless and might be nice to merge along with this if we're bumping the patch number anyway.

@mateuszbaran mateuszbaran merged commit 5a134cb into JuliaArrays:master Aug 7, 2021
@mateuszbaran
Copy link
Collaborator

OK, I'll merge both and then tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

normalize not defined for SMatrix
2 participants