aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-10-22 15:56:10 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-10-22 15:56:10 -0400
commit83a7b7c44c4842e1cfa89179624f4448d39a9e5b (patch)
treed17373859f7dcc232412323017488f7eba5bb24b /test
parent99bb29abcfc4a62b8d099da6fb045f8d9a22cdf3 (diff)
support gcc 3.3
Diffstat (limited to 'test')
-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 f8281a16b..010989feb 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));
}