Skip to content
Snippets Groups Projects
Verified Commit b95c3021 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test/matrix: extend test for non-square matrix

parent 9f44bbb5
No related branches found
No related tags found
No related merge requests found
Pipeline #10731 failed
...@@ -94,8 +94,13 @@ BOOST_PYTHON_MODULE(matrix) ...@@ -94,8 +94,13 @@ BOOST_PYTHON_MODULE(matrix)
namespace bp = boost::python; namespace bp = boost::python;
eigenpy::enableEigenPy(); eigenpy::enableEigenPy();
// Square matrix
typedef Eigen::Matrix<double,6,6> Matrix6; typedef Eigen::Matrix<double,6,6> Matrix6;
eigenpy::enableEigenPySpecific<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::MatrixXd (*naturalsXX)(int,int,bool) = naturals;
Eigen::VectorXd (*naturalsX)(int,bool) = naturals; Eigen::VectorXd (*naturalsX)(int,bool) = naturals;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment