Skip to content

Conversation

varunagrawal
Copy link
Contributor

While wrapping hybrid, I encountered intermittent failures of python tests for the FrobeniusBetweenFactor. The fix was simple (specify Eigen alignment) so making a PR for it.

@varunagrawal varunagrawal added the bugfix Fixes an issue or bug label Feb 10, 2022
@varunagrawal varunagrawal self-assigned this Feb 10, 2022
@varunagrawal
Copy link
Contributor Author

This is the failure I encounter:

Test creation of a Frobenius BetweenFactor. ... python: /home/varun/borglab/gtsam/gtsam/3rdparty/Eigen/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<double, 36, 0, 32>::plain_array() [T = double, Size = 36, MatrixOrArrayOptions = 0, Alignment = 32]: Assertion `(internal::UIntPtr(array) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
Subprocess aborted

@varunagrawal varunagrawal added the quick-review Quick and easy PR to review label Feb 10, 2022
Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

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

Thanks !

@varunagrawal varunagrawal merged commit a5bee15 into develop Feb 10, 2022
@varunagrawal varunagrawal deleted the fix/FrobeniusFactor branch February 10, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes an issue or bug quick-review Quick and easy PR to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants