aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_hyperplane.cpp
diff options
context:
space:
mode:
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));
}
}