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,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);