Replies: 1 comment 3 replies
-
So, maybe this is a debate: Eigen 3.4 actually gets rid of all alignment problems. If we want to use that functionality, then we should insist on that version, and so we can only use system if it has the right version. I think that is the version on the latest Ubuntu, so I would be fine with that if we check the version. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Any reason
GTSAM_USE_SYSTEM_EIGEN
shouldn't be set toOn
by default indevelop
, at least targeting v4.3?If you prefer
GTSAM_USE_SYSTEM_EIGEN
to still beOff
if no system version is found first, I could do a PR for it, so the change does not break anyone's build...PS: main reason to have
GTSAM_USE_SYSTEM_EIGEN=On
by default is to avoid crashes due to wrong memory alignment and/or layouts if mixing different Eigen versions in gtsam vs the user code, e.g. input or output matrices/vectors from other libraries that also use Eigen.Beta Was this translation helpful? Give feedback.
All reactions