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

Avoid using auto as type of Eigen expressions. #8577

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

Noisyfox
Copy link
Collaborator

According to https://eigen.tuxfamily.org/dox/TopicPitfalls.html one should just avoid using auto as the type of an Eigen expression.

This PR fixes most of them I could found in the project. There might be cases that I missed, and I might update those later if I noticed.

This should prevent issues like #7741 and hopefully fix some mysterious crashes happened inside Eigen calls.

SoftFever
SoftFever previously approved these changes Feb 26, 2025
Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

👍

@SoftFever
Copy link
Owner

@Noisyfox can you take a look at the conflicts?

@Noisyfox
Copy link
Collaborator Author

@Noisyfox can you take a look at the conflicts?

Done

@SoftFever SoftFever merged commit 51916ff into SoftFever:main Feb 26, 2025
16 checks passed
@Noisyfox Noisyfox deleted the bugfox/eigen-auto branch February 27, 2025 00:44
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.

2 participants