From ef732659876f0000e38eb46767d3522111cbeae8 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 25 Feb 2011 09:03:24 +0100 Subject: [PATCH] to ease debugging let's catch invalid template options in Transform --- Eigen/src/Geometry/Transform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index f3256687b..cc3e26304 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -608,6 +608,7 @@ protected: #ifndef EIGEN_PARSED_BY_DOXYGEN EIGEN_STRONG_INLINE static void check_template_params() { + EIGEN_STATIC_ASSERT((Options & (DontAlign|RowMajor)) == Options, INVALID_MATRIX_TEMPLATE_PARAMETERS) } #endif