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] Use ct_matrix instead of <Eigen/LU> for determinant in headers #7600

Conversation

calcmogul
Copy link
Member

@calcmogul calcmogul commented Dec 28, 2024

<Eigen/LU> doubles compilation times on MSVC, even if the Rotation3d rotation matrix constructor is unused. MSVC's frontend inefficiently parses large headers; GCC and Clang are largely unaffected.

This caught a bug in ct_matrix's 3x3 determinant.

@calcmogul calcmogul requested a review from a team as a code owner December 28, 2024 18:47
@github-actions github-actions bot added the component: wpimath Math library label Dec 28, 2024
This caught a bug in ct_matrix's 3x3 determinant.
@calcmogul calcmogul force-pushed the wpimath-use-ct-matrix-determinant-in-headers branch from eda8238 to 5f2c4a4 Compare December 28, 2024 19:34
@PeterJohnson PeterJohnson merged commit 57344ef into wpilibsuite:main Dec 28, 2024
46 checks passed
@calcmogul calcmogul deleted the wpimath-use-ct-matrix-determinant-in-headers branch December 28, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants