diff --git a/vcg/math/eigen.h b/vcg/math/eigen.h index 56e73e12..62074f72 100644 --- a/vcg/math/eigen.h +++ b/vcg/math/eigen.h @@ -32,6 +32,7 @@ // forward declarations namespace Eigen { +template struct ei_traits; #include "../Eigen/src/Core/util/Meta.h" template struct ei_lexi_comparison; diff --git a/vcg/math/eigen_matrixbase_addons.h b/vcg/math/eigen_matrixbase_addons.h index 30c7b20c..90914d90 100644 --- a/vcg/math/eigen_matrixbase_addons.h +++ b/vcg/math/eigen_matrixbase_addons.h @@ -199,8 +199,6 @@ EIGEN_DEPRECATED inline Derived& Normalize() { normalize(); return derived(); }; /** \deprecated use normalized() */ EIGEN_DEPRECATED inline const EvalType Normalize() const { return normalized(); }; -inline void transposeInPlace() { derived() = derived().transpose().eval(); } - /** \deprecated use .cross(p) */ EIGEN_DEPRECATED inline EvalType operator ^ (const Derived& p ) const { return this->cross(p); } diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h index f202b4e4..e571fafb 100644 --- a/vcg/math/matrix44.h +++ b/vcg/math/matrix44.h @@ -104,7 +104,6 @@ public: using _Base::coeffRef; using _Base::ElementAt; using _Base::setZero; - using _Base::operator*; _EIGEN_GENERIC_PUBLIC_INTERFACE(Matrix44,_Base); typedef _Scalar ScalarType; @@ -158,7 +157,7 @@ public: // note: this function is defined here because some compilers cannot find the respective declaration template inline const typename ei_matrix44_product_impl::ResultType - operator * (const MatrixBase &other) const + operator * (const Eigen::MatrixBase &other) const { return ei_matrix44_product_impl::run(*this,other.derived()); } /** Contatenates two transformations */