From 093e3cd5b58e6e0ea4c3d6c75fe3467b35f16ac7 Mon Sep 17 00:00:00 2001 From: Andrew Coles Date: Thu, 5 Mar 2009 22:35:06 +0000 Subject: [PATCH] Commented out duplicate definition of TransformTraits - was causing compile-time errors. --- Eigen/src/Geometry/Transform.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index 907dc769d..3dcde2d90 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -26,12 +26,16 @@ #ifndef EIGEN_TRANSFORM_H #define EIGEN_TRANSFORM_H -/** Represents some traits of a transformation */ -enum TransformTraits { - Isometry, ///< the transformation is a concatenation of translations and rotations - Affine, ///< the transformation is affine (linear transformation + translation) - Projective ///< the transformation might not be affine -}; +// Definition of TransformTraits commented out (by andrew_coles@yahoo.co.uk) +// Is already defined (differently) in Constants.h, and gave duplicate +// definition compile-time errors + +///** Represents some traits of a transformation */ +//enum TransformTraits { +// Isometry, ///< the transformation is a concatenation of translations and rotations +// Affine, ///< the transformation is affine (linear transformation + translation) +// Projective ///< the transformation might not be affine +//}; // Note that we have to pass Dim and HDim because it is not allowed to use a template // parameter to define a template specialization. To be more precise, in the following