Registered Member
|
I need some help with wrapping an Eigen::Vector2d to python. To make it reproduceable I have created a small test: https://github.com/looooo/eigentest
The problem should be described here http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html and this is the error message:
The problem occurs only on 2d vectors. The same wrapper methodes on a 3d vector is working. Maybe someone has an idea how to solve this problem. Many thanks in advance |
Registered Member
|
Found a solution in the EIgen Documentation : http://eigen.tuxfamily.org/dox/group__TopicStructHavingEigenMembers.html
I now use this matrixtype as vector2d: Eigen::Matrix<double,2,1,Eigen::DontAlign> |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]