diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-05-11 11:09:41 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-05-11 11:09:41 +0000 |
commit | 9b256d997edbb2118bb51e53010d569fe1d1d835 (patch) | |
tree | 3483ba17c6f5af5d152c30e9af252673ac99c8d6 /test/geo_hyperplane.cpp | |
parent | 6a4e94f349fc2cf5de8666fa8129b91b429be7f0 (diff) |
various minor updates of some unit tests
Diffstat (limited to 'test/geo_hyperplane.cpp')
-rw-r--r-- | test/geo_hyperplane.cpp | 4 |
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)); } } |