diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-11-05 23:30:49 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-11-05 23:30:49 +0100 |
commit | 478de03bd8d91ab6238f322ed4783daa71a97b40 (patch) | |
tree | 827465ec30c7f10f753513b46f7b92b2e08302dc /test/geo_homogeneous.cpp | |
parent | cdd3e850608890acf74c56f4541a3b39078af8f0 (diff) |
fix a couple of warnings in the unit tests
Diffstat (limited to 'test/geo_homogeneous.cpp')
-rw-r--r-- | test/geo_homogeneous.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/geo_homogeneous.cpp b/test/geo_homogeneous.cpp index 26254b757..3efcb77db 100644 --- a/test/geo_homogeneous.cpp +++ b/test/geo_homogeneous.cpp @@ -42,17 +42,13 @@ template<typename Scalar,int Size> void homogeneous(void) typedef Matrix<Scalar,Size+1,Size> T3MatrixType; VectorType v0 = VectorType::Random(), - v1 = VectorType::Random(), ones = VectorType::Ones(); - HVectorType hv0 = HVectorType::Random(), - hv1 = HVectorType::Random(); + HVectorType hv0 = HVectorType::Random(); - MatrixType m0 = MatrixType::Random(), - m1 = MatrixType::Random(); + MatrixType m0 = MatrixType::Random(); - HMatrixType hm0 = HMatrixType::Random(), - hm1 = HMatrixType::Random(); + HMatrixType hm0 = HMatrixType::Random(); hv0 << v0, 1; VERIFY_IS_APPROX(v0.homogeneous(), hv0); |