aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Geometry/RotationBase.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-18 21:04:06 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-18 21:04:06 +0000
commitf34a4fa3358133e05afcf0845a58497d16436977 (patch)
tree81643bc7ca9c1d879c3488758ccf1a2d6b1a5f4e /Eigen/src/Geometry/RotationBase.h
parent8106d354089d5699d37f1e3ed16709bc9a0334e5 (diff)
* forgot to svn add 2 files
* idea of Keir Mierle: make the static assert error msgs UPPERCASE
Diffstat (limited to 'Eigen/src/Geometry/RotationBase.h')
-rw-r--r--Eigen/src/Geometry/RotationBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/RotationBase.h b/Eigen/src/Geometry/RotationBase.h
index 6ad057e03..5fec0f18d 100644
--- a/Eigen/src/Geometry/RotationBase.h
+++ b/Eigen/src/Geometry/RotationBase.h
@@ -116,7 +116,7 @@ Matrix<_Scalar, _Rows, _Cols, _Storage, _MaxRows, _MaxCols>
template<typename Scalar, int Dim>
inline static Matrix<Scalar,2,2> ei_toRotationMatrix(const Scalar& s)
{
- EIGEN_STATIC_ASSERT(Dim==2,you_made_a_programming_mistake)
+ EIGEN_STATIC_ASSERT(Dim==2,YOU_MADE_A_PROGRAMMING_MISTAKE)
return Rotation2D<Scalar>(s).toRotationMatrix();
}
@@ -130,7 +130,7 @@ template<typename Scalar, int Dim, typename OtherDerived>
inline static const MatrixBase<OtherDerived>& ei_toRotationMatrix(const MatrixBase<OtherDerived>& mat)
{
EIGEN_STATIC_ASSERT(OtherDerived::RowsAtCompileTime==Dim && OtherDerived::ColsAtCompileTime==Dim,
- you_made_a_programming_mistake)
+ YOU_MADE_A_PROGRAMMING_MISTAKE)
return mat;
}