fix a couple of warnings in the unit tests

This commit is contained in:
Gael Guennebaud
2011-11-05 23:30:49 +01:00
parent cdd3e85060
commit 478de03bd8
7 changed files with 8 additions and 19 deletions

View File

@@ -42,7 +42,6 @@ template<typename Scalar> void eulerangles(void)
#define VERIFY_EULER(I,J,K, X,Y,Z) { \
Vector3 ea = m.eulerAngles(I,J,K); \
Matrix3 m1 = Matrix3(AngleAxisx(ea[0], Vector3::Unit##X()) * AngleAxisx(ea[1], Vector3::Unit##Y()) * AngleAxisx(ea[2], Vector3::Unit##Z())); \
VERIFY_IS_APPROX(m, Matrix3(AngleAxisx(ea[0], Vector3::Unit##X()) * AngleAxisx(ea[1], Vector3::Unit##Y()) * AngleAxisx(ea[2], Vector3::Unit##Z()))); \
}
VERIFY_EULER(0,1,2, X,Y,Z);