-
Notifications
You must be signed in to change notification settings - Fork 35
Remove norm field and update normalization functions #108
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #108 +/- ##
==========================================
- Coverage 98.67% 98.44% -0.24%
==========================================
Files 1 1
Lines 227 193 -34
==========================================
- Hits 224 190 -34
Misses 3 3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I agree with removing |
|
For that matter, should we remove |
I think the function can be removed too. I also think that the name of the function is not common and inappropriate. |
hyrodium
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a minor suggestion on a dosctring. I'll review other points after resolving the conflicts.
|
@hyrodium this should be ready for final review. |
hyrodium
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates! LTGM:+1:
This PR primarily removes the
:normfield ofQuaternionand updates all code and tests accordingly (fixes #60). It also:normalizeoverload in favor ofsign. (fixes Drop normalize for quaternions #69)renamesnormalizeatosign_abs(exported)normalizeaargqnormalizeq(only used internally forargqand makes no sense apart from it)The first 2 are breaking.
I wonder also if we should removesign_abs. We don't use it internally, and something likesign_absiss general-purpose and unrelated to quaternions.Supersedes #75