diff options
Diffstat (limited to 'Eigen/src/Geometry/Transform.h')
-rw-r--r-- | Eigen/src/Geometry/Transform.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index fc7f5b002..2f1b9a75c 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -63,7 +63,7 @@ template<typename _Scalar, int _Dim> class Transform { public: - EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE(_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)) + EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE(Transform,_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)) enum { Dim = _Dim, ///< space dimension in which the transformation holds HDim = _Dim+1 ///< size of a respective homogeneous vector @@ -95,7 +95,9 @@ public: inline Transform() { } inline Transform(const Transform& other) - { m_matrix = other.m_matrix; } + { + m_matrix = other.m_matrix; + } inline explicit Transform(const TranslationType& t) { *this = t; } inline explicit Transform(const ScalingType& s) { *this = s; } |