aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_eulerangles.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-11-05 23:30:49 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-11-05 23:30:49 +0100
commit478de03bd8d91ab6238f322ed4783daa71a97b40 (patch)
tree827465ec30c7f10f753513b46f7b92b2e08302dc /test/geo_eulerangles.cpp
parentcdd3e850608890acf74c56f4541a3b39078af8f0 (diff)
fix a couple of warnings in the unit tests
Diffstat (limited to 'test/geo_eulerangles.cpp')
-rw-r--r--test/geo_eulerangles.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/geo_eulerangles.cpp b/test/geo_eulerangles.cpp
index f82cb8fbe..8029a694e 100644
--- a/test/geo_eulerangles.cpp
+++ b/test/geo_eulerangles.cpp
@@ -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);