diff options
author | 2011-02-25 09:03:24 +0100 | |
---|---|---|
committer | 2011-02-25 09:03:24 +0100 | |
commit | ef732659876f0000e38eb46767d3522111cbeae8 (patch) | |
tree | 82f1939e736a91784e40513dee673a2f1ee3fe62 | |
parent | 4fbd78d993d29ba43708dc3e8b5b4011cbb315ce (diff) |
to ease debugging let's catch invalid template options in Transform
-rw-r--r-- | Eigen/src/Geometry/Transform.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |