@@ -56,10 +56,12 @@ namespace eigenpy
5656
5757 .def (" rankUpdate" ,(Solver (Solver::*)(const VectorType &, const RealScalar &))&Solver::template rankUpdate<VectorType>,
5858 bp::args (" self" ," vector" ," sigma" ))
59-
59+
60+ #if EIGEN_VERSION_AT_LEAST(3,2,90)
6061 .def (" adjoint" ,&Solver::adjoint,bp::arg (" self" ),
6162 " Returns the adjoint, that is, a reference to the decomposition itself as if the underlying matrix is self-adjoint." ,
6263 bp::return_value_policy<bp::reference_existing_object>())
64+ #endif
6365
6466 .def (" compute" ,(Solver & (Solver::*)(const Eigen::EigenBase<MatrixType> & matrix))&Solver::compute,
6567 bp::args (" self" ," matrix" ),
@@ -68,9 +70,10 @@ namespace eigenpy
6870
6971 .def (" info" ,&Solver::info,bp::arg (" self" ),
7072 " NumericalIssue if the input contains INF or NaN values or overflow occured. Returns Success otherwise." )
71-
73+ # if EIGEN_VERSION_AT_LEAST(3,2,90)
7274 .def (" rcond" ,&Solver::rcond,bp::arg (" self" ),
7375 " Returns an estimate of the reciprocal condition number of the matrix." )
76+ #endif
7477 .def (" reconstructedMatrix" ,&Solver::reconstructedMatrix,bp::arg (" self" ),
7578 " Returns the matrix represented by the decomposition, i.e., it returns the product: L L^*. This function is provided for debug purpose." )
7679 .def (" solve" ,&solve<VectorType>,bp::args (" self" ," b" ),
0 commit comments