aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_hyperplane.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-05-11 11:09:41 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-05-11 11:09:41 +0000
commit9b256d997edbb2118bb51e53010d569fe1d1d835 (patch)
tree3483ba17c6f5af5d152c30e9af252673ac99c8d6 /test/geo_hyperplane.cpp
parent6a4e94f349fc2cf5de8666fa8129b91b429be7f0 (diff)
various minor updates of some unit tests
Diffstat (limited to 'test/geo_hyperplane.cpp')
-rw-r--r--test/geo_hyperplane.cpp4
1 files changed, 2 insertions, 2 deletions
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<typename Scalar> 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));
}
}