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

Move some mathematical methods of 'Real2', 'Real3', 'Real2x2' and 'Real3x3' in namespace 'math' #1871

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

grospelliergilles
Copy link
Member

The moved methods are isNearlyZero(), normL2(), squareNormL2() et normalize().
This will allow us to use these methods the same way for any type.

…, 'Real2x2' et 'Real3x3' dans le namespace 'math'.

Les méthodes déplacées sont 'isNearlyZero()', 'normL2()', 'squareNormL2()'
et 'normalize()'.
Cela permet de les appeler de manière cohérente avec les autres types
de données.
@grospelliergilles grospelliergilles added arcane Arcane Component refactoring Code refactoring and cleanup labels Dec 25, 2024
@grospelliergilles grospelliergilles self-assigned this Dec 25, 2024
Copy link

codecov bot commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 70.30%. Comparing base (33ff2f8) to head (875cf8a).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
arcane/src/arcane/utils/Real3.h 66.66% 2 Missing and 1 partial ⚠️
arcane/src/arcane/utils/Real2x2.h 0.00% 2 Missing ⚠️
arcane/src/arcane/utils/Real2.h 50.00% 1 Missing ⚠️
arcane/src/arcane/utils/Real3x3.h 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1871      +/-   ##
==========================================
+ Coverage   70.26%   70.30%   +0.03%     
==========================================
  Files        2272     2272              
  Lines      163761   163781      +20     
  Branches    18855    18863       +8     
==========================================
+ Hits       115071   115145      +74     
+ Misses      41861    41810      -51     
+ Partials     6829     6826       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@grospelliergilles grospelliergilles merged commit 3efaa54 into main Dec 25, 2024
32 checks passed
@grospelliergilles grospelliergilles deleted the dev/gg-move-math-methods-outside-of-realn branch December 31, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arcane Arcane Component refactoring Code refactoring and cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant