From 9b256d997edbb2118bb51e53010d569fe1d1d835 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 11 May 2009 11:09:41 +0000 Subject: various minor updates of some unit tests --- test/geo_hyperplane.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/geo_hyperplane.cpp') diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp index de1ee8ba0..1a700fabf 100644 --- a/test/geo_hyperplane.cpp +++ b/test/geo_hyperplane.cpp @@ -121,8 +121,8 @@ template void lines() VERIFY_IS_APPROX(result, center); // check conversions between two types of lines - CoeffsType converted_coeffs(HLine(PLine(line_u)).coeffs()); - converted_coeffs *= line_u.coeffs()(0)/converted_coeffs(0); + CoeffsType converted_coeffs = HLine(PLine(line_u)).coeffs(); + converted_coeffs *= (line_u.coeffs()[0])/(converted_coeffs[0]); VERIFY(line_u.coeffs().isApprox(converted_coeffs)); } } -- cgit v1.2.3