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

fix: Eigen Identity matrix and Vc/SMatrix matrix getter and hide arithmetic operators in algebra namespace #141

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

niermann999
Copy link
Contributor

@niermann999 niermann999 commented Dec 4, 2024

The Eigen Identity matrix in the transform class leads to invalid instructions in CUDA. Also fixes small issues in the matrix getters of the Vc and SMatrix plugins.

Also moves the arithmetic operators of the cmath plugin to the algebra namespace, since they were picked up in ACTS builds by Eigen types

@niermann999 niermann999 force-pushed the ref-some-fixes branch 2 times, most recently from d1ee45d to 04d9f3d Compare December 4, 2024 23:25
Copy link

sonarqubecloud bot commented Dec 4, 2024

@niermann999 niermann999 changed the title fix: Eigen Identity matrix and Vc matrix getter fix: Eigen Identity matrix and Vc/SMatrix matrix getter Dec 5, 2024
@niermann999 niermann999 changed the title fix: Eigen Identity matrix and Vc/SMatrix matrix getter fix: Eigen Identity matrix and Vc/SMatrix matrix getter and hide arithmetic operators in algebra namespace Dec 5, 2024
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the formatting issues, this looks fine to me.

Just as a comment: Instead of the using namespace algebra statements, I myself would've probably put the common test code into let's say an algebra::test:: namespace.

But since it's testing code, I don't actually care a whole lot about the exact formalism...

@niermann999 niermann999 requested a review from krasznaa December 6, 2024 13:30
@niermann999 niermann999 force-pushed the ref-some-fixes branch 2 times, most recently from 8500c2f to 178608a Compare December 6, 2024 14:50
Copy link

sonarqubecloud bot commented Dec 6, 2024

@niermann999 niermann999 merged commit 878388c into acts-project:main Dec 6, 2024
28 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