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

[wpimath] Remove duplicate calls to norm() in Quaternion::Log() #6358

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

ThadHouse
Copy link
Member

Norm() doesn't look to be super cheap, and log seems to be called a decent amount. Easy optimization.

@ThadHouse ThadHouse requested a review from a team as a code owner February 10, 2024 07:18
@PeterJohnson PeterJohnson changed the title Remove duplicate calls to norm() in Quaternion::Log() [wpimath] Remove duplicate calls to norm() in Quaternion::Log() Feb 10, 2024
@PeterJohnson PeterJohnson merged commit e9c744c into wpilibsuite:main Feb 10, 2024
27 checks passed
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.

3 participants