Skip to content

Commit 33f7141

Browse files
committed
decompositions: fix issue with old Eigen versions
1 parent 384d24d commit 33f7141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/eigenpy/decompositions/EigenSolver.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ namespace eigenpy
2929
namespace bp = boost::python;
3030
cl
3131
.def(bp::init<>("Default constructor"))
32-
.def(bp::init<Eigen::Index>(bp::arg("size"),
33-
"Default constructor with memory preallocation"))
32+
.def(bp::init<Eigen::DenseIndex>(bp::arg("size"),
33+
"Default constructor with memory preallocation"))
3434
.def(bp::init<MatrixType,bp::optional<bool> >(bp::args("matrix","compute_eigen_vectors"),
3535
"Computes eigendecomposition of given matrix"))
3636

0 commit comments

Comments
 (0)