[eigen] LevenbergMarquardt VC2008 error |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Hi Thomas, I think you are the right person for asking. While compiling
my NonlinearLeastSquareFitterTest with MSVS 2008, I get the
following error message Compiling... NonlinearLeastSquareFitterTest.cpp eigen3\eigen\src\core\transpose.h(120) : error C2440: 'return' : cannot convert from 'const double *' to 'double *' Conversion loses qualifiers eigen\src\core\transpose.h(120) : while compiling class template member function 'double *Eigen::TransposeImpl with [ MatrixType=Eigen::Block<EIGEN::MATRIX StorageKind=Eigen::Dense ] eigen3\eigen\src\core\transpose.h(69) : see reference to class template instantiation 'Eigen::TransposeImpl with [ MatrixType=Eigen::Block<EIGEN::MATRIX StorageKind=Eigen::Dense ] eigen3\unsupported\eigen\src\nonlinearoptimization\lmpar.h(218) : see reference to class template instantiation 'Eigen::Transpose with [ MatrixType=Eigen::Block<EIGEN::MATRIX ] eigen3\unsupported\eigen\src\nonlinearoptimization\levenbergmarquardt.h(279) : see reference to function template instantiation 'void Eigen::internal::lmpar2 with [ Scalar=double, _MatrixType=Eigen::Matrix _Scalar=double, _Rows=-1, _Cols=1 ] eigen3\unsupported\eigen\src\nonlinearoptimization\levenbergmarquardt.h(222) : while compiling class template member function 'Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt with [ FunctorType= EigenNonlinearLeastSquareFitter<LINEARCOMBINATION _Scalar=double, _Rows=-1, _Cols=1 ] eigen3\unsupported\eigen\src\nonlinearoptimization\levenbergmarquardt.h(166) : while compiling class template member function 'Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt with [ FunctorType= EigenNonlinearLeastSquareFitter<LINEARCOMBINATION _Scalar=double, _Rows=-1, _Cols=1 ]
Could you fix it?
Thanks,
Oleg Shirokobrod
___________________________________________________________________________ This e-mail is confidential and is for the addressee only. Please refer to www.oxinst.com/email-statement for regulatory information. |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |