Skip to content

Commit 593fd54

Browse files
committed
decompositions: fix Eigen version
1 parent 6343cde commit 593fd54

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/eigenpy/decompositions/LDLT.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ namespace eigenpy
5656

5757
.def("rankUpdate",(Solver & (Solver::*)(const Eigen::MatrixBase<VectorType> &, const RealScalar &))&Solver::template rankUpdate<VectorType>,
5858
bp::args("self","vector","sigma"),
59-
bp::return_value_policy<bp::reference_existing_object>())
59+
bp::return_value_policy<bp::reference_existing_object>() )
6060

61-
#if EIGEN_VERSION_AT_LEAST(3,2,90)
61+
#if EIGEN_VERSION_AT_LEAST(3,3,0)
6262
.def("adjoint",&Solver::adjoint,bp::arg("self"),
6363
"Returns the adjoint, that is, a reference to the decomposition itself as if the underlying matrix is self-adjoint.",
6464
bp::return_value_policy<bp::reference_existing_object>())
@@ -71,7 +71,7 @@ namespace eigenpy
7171

7272
.def("info",&Solver::info,bp::arg("self"),
7373
"NumericalIssue if the input contains INF or NaN values or overflow occured. Returns Success otherwise.")
74-
#if EIGEN_VERSION_AT_LEAST(3,2,90)
74+
#if EIGEN_VERSION_AT_LEAST(3,3,0)
7575
.def("rcond",&Solver::rcond,bp::arg("self"),
7676
"Returns an estimate of the reciprocal condition number of the matrix.")
7777
#endif

include/eigenpy/decompositions/LLT.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace eigenpy
4747
.def("rankUpdate",(Solver (Solver::*)(const VectorType &, const RealScalar &))&Solver::template rankUpdate<VectorType>,
4848
bp::args("self","vector","sigma"))
4949

50-
#if EIGEN_VERSION_AT_LEAST(3,2,90)
50+
#if EIGEN_VERSION_AT_LEAST(3,3,0)
5151
.def("adjoint",&Solver::adjoint,bp::arg("self"),
5252
"Returns the adjoint, that is, a reference to the decomposition itself as if the underlying matrix is self-adjoint.",
5353
bp::return_value_policy<bp::reference_existing_object>())
@@ -60,7 +60,7 @@ namespace eigenpy
6060

6161
.def("info",&Solver::info,bp::arg("self"),
6262
"NumericalIssue if the input contains INF or NaN values or overflow occured. Returns Success otherwise.")
63-
#if EIGEN_VERSION_AT_LEAST(3,2,90)
63+
#if EIGEN_VERSION_AT_LEAST(3,3,0)
6464
.def("rcond",&Solver::rcond,bp::arg("self"),
6565
"Returns an estimate of the reciprocal condition number of the matrix.")
6666
#endif

0 commit comments

Comments
 (0)