add missing CGAL namespace to avoid conflict with std one with gcc

This commit is contained in:
Sébastien Loriot 2013-05-14 18:15:12 +02:00
parent a77564cb71
commit b2654e7a1a
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ namespace CGAL {
const Scalar th = std::sqrt(Eigen::NumTraits<Scalar>::dummy_precision());
Eigen::SelfAdjointEigenSolver<Matrix> eig;
feclearexcept(FE_UNDERFLOW);
CGAL::feclearexcept(FE_UNDERFLOW);
eig.computeDirect(A.transpose()*A);
if(fetestexcept(FE_UNDERFLOW) || eig.eigenvalues()(0)/eig.eigenvalues()(2)<th)
if(CGAL::fetestexcept(FE_UNDERFLOW) || eig.eigenvalues()(0)/eig.eigenvalues()(2)<th)
{ return false; }
Vector S = eig.eigenvalues().cwiseSqrt();