mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
support gcc 3.3
This commit is contained in:
parent
99bb29abcf
commit
83a7b7c44c
@ -121,7 +121,8 @@ template<typename Scalar> void lines()
|
|||||||
VERIFY_IS_APPROX(result, center);
|
VERIFY_IS_APPROX(result, center);
|
||||||
|
|
||||||
// check conversions between two types of lines
|
// 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]);
|
converted_coeffs *= (line_u.coeffs()[0])/(converted_coeffs[0]);
|
||||||
VERIFY(line_u.coeffs().isApprox(converted_coeffs));
|
VERIFY(line_u.coeffs().isApprox(converted_coeffs));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user