diff --git a/unittest/matrix.cpp b/unittest/matrix.cpp index b7cbc593d5703e85a2d1f70de6b7f8efa8468155..ce8a1c191aafb95e000b85e4eb3d111d04f70fd1 100644 --- a/unittest/matrix.cpp +++ b/unittest/matrix.cpp @@ -94,8 +94,13 @@ BOOST_PYTHON_MODULE(matrix) namespace bp = boost::python; eigenpy::enableEigenPy(); + // Square matrix typedef Eigen::Matrix<double,6,6> Matrix6; eigenpy::enableEigenPySpecific<Matrix6>(); + + // Non-square matrix + typedef Eigen::Matrix<double,4,6> Matrix46; + eigenpy::enableEigenPySpecific<Matrix46>(); Eigen::MatrixXd (*naturalsXX)(int,int,bool) = naturals; Eigen::VectorXd (*naturalsX)(int,bool) = naturals;