Registered Member
|
After upgrading to Eigen 3.3, when I run my code through the undefined behavior sanitizer in GCC I obtain errors about 'constructor call on misaligned address' -- what would cause this error? The class that triggers the error has the following member variables:
Vector3d Quaternion with doubles Vector3d Vector3d Are these errors expected? How can I fix this error with Eigen 3.3? |
Registered Member
|
Replacing the quaternion member variable with a 3x3 matrix resolved the issues with the undefined behavior sanitizer... it would be nice to use a quaternion, but if it triggers undefined behavior that is a bit strange.
|
Moderator
|
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]