Skip to content
Snippets Groups Projects
Commit d09a7cbf authored by jcarpent's avatar jcarpent
Browse files

[Solvers] LeastSquareDiagonalPreconditioner has been fixed in Eigen 3.3.5

parent 445da18f
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ namespace eigenpy
}
};
#if EIGEN_VERSION_AT_LEAST(3,3,0)
#if EIGEN_VERSION_AT_LEAST(3,3,5)
template<typename Scalar>
struct LeastSquareDiagonalPreconditionerVisitor : PreconditionerBaseVisitor<Eigen::LeastSquareDiagonalPreconditioner<Scalar> >
{
......
......@@ -25,7 +25,7 @@ namespace eigenpy
using namespace Eigen;
DiagonalPreconditionerVisitor<double>::expose();
#if EIGEN_VERSION_AT_LEAST(3,3,0)
#if EIGEN_VERSION_AT_LEAST(3,3,5)
LeastSquareDiagonalPreconditionerVisitor<double>::expose();
#endif
IdentityPreconditionerVisitor::expose();
......
......@@ -17,7 +17,7 @@
#include "eigenpy/solvers/solvers.hpp"
#include "eigenpy/solvers/ConjugateGradient.hpp"
#if EIGEN_VERSION_AT_LEAST(3,3,0)
#if EIGEN_VERSION_AT_LEAST(3,3,5)
#include "eigenpy/solvers/LeastSquaresConjugateGradient.hpp"
#endif
......@@ -27,7 +27,7 @@ namespace eigenpy
{
using namespace Eigen;
ConjugateGradientVisitor< ConjugateGradient<MatrixXd,Lower|Upper> >::expose();
#if EIGEN_VERSION_AT_LEAST(3,3,0)
#if EIGEN_VERSION_AT_LEAST(3,3,5)
LeastSquaresConjugateGradientVisitor< LeastSquaresConjugateGradient<MatrixXd, LeastSquareDiagonalPreconditionerFix<MatrixXd::Scalar> > >::expose();
#endif
......
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