aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_hyperplane.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-10-28 19:06:45 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-10-28 19:06:45 -0400
commite8dd552257f0e886ee281aa84b7094fc489608d0 (patch)
tree596633c4d3e721b6d4fad31520423b9c0e03bf8a /test/geo_hyperplane.cpp
parent2840ac7e948ecb3c7b19ba8f581f829a4a4e1fea (diff)
parent6219f9acfa61e54baf266f816b7eaf9ffbd9841e (diff)
sync with mainline
Diffstat (limited to 'test/geo_hyperplane.cpp')
-rw-r--r--test/geo_hyperplane.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp
index f1d3b016f..3cf5655c2 100644
--- a/test/geo_hyperplane.cpp
+++ b/test/geo_hyperplane.cpp
@@ -121,7 +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();
+ PLine pl(line_u); // gcc 3.3 will commit suicide if we don't name this variable
+ CoeffsType converted_coeffs = HLine(pl).coeffs();
converted_coeffs *= (line_u.coeffs()[0])/(converted_coeffs[0]);
VERIFY(line_u.coeffs().isApprox(converted_coeffs));
}