mirror of https://github.com/CGAL/cgal
add missing CGAL namespace to avoid conflict with std one with gcc
This commit is contained in:
parent
a77564cb71
commit
b2654e7a1a
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue