From 81fd1e9060bcc3e02815451eb21c141591499711 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 22 Oct 2009 15:53:23 -0400 Subject: [PATCH] support gcc 3.3 --- test/hyperplane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/hyperplane.cpp b/test/hyperplane.cpp index 927553f8e..f1a96a717 100644 --- a/test/hyperplane.cpp +++ b/test/hyperplane.cpp @@ -121,7 +121,8 @@ template 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)); }