From 19f2f53e2c6cac602be479dae84837ab539329ce Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 24 Jun 2010 15:13:41 +0200 Subject: fix compilation when default to row major --- test/geo_homogeneous.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/geo_homogeneous.cpp') diff --git a/test/geo_homogeneous.cpp b/test/geo_homogeneous.cpp index 781913553..3162af831 100644 --- a/test/geo_homogeneous.cpp +++ b/test/geo_homogeneous.cpp @@ -32,7 +32,7 @@ template void homogeneous(void) */ typedef Matrix MatrixType; - typedef Matrix VectorType; + typedef Matrix VectorType; typedef Matrix HMatrixType; typedef Matrix HVectorType; @@ -80,6 +80,7 @@ template void homogeneous(void) VERIFY_IS_APPROX((v0.transpose().rowwise().homogeneous().eval()) * t2, v0.transpose().rowwise().homogeneous() * t2); + m0.transpose().rowwise().homogeneous().eval(); VERIFY_IS_APPROX((m0.transpose().rowwise().homogeneous().eval()) * t2, m0.transpose().rowwise().homogeneous() * t2); -- cgit v1.2.3