mirror of https://github.com/CGAL/cgal
fixed min/max problem
This commit is contained in:
parent
e3d2f8a410
commit
c2a2ab091c
|
|
@ -144,7 +144,7 @@ private:
|
||||||
/// Test if a floating point number is (close to) 0.0.
|
/// Test if a floating point number is (close to) 0.0.
|
||||||
static inline bool IsZero(NT a)
|
static inline bool IsZero(NT a)
|
||||||
{
|
{
|
||||||
return (CGAL_CLIB_STD::fabs(a) < 10.0 * std::numeric_limits<NT>::min());
|
return (CGAL_CLIB_STD::fabs(a) < 10.0 * (std::numeric_limits<NT>::min)());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fields
|
// Fields
|
||||||
|
|
@ -293,7 +293,7 @@ private:
|
||||||
/// Test if a floating point number is (close to) 0.0.
|
/// Test if a floating point number is (close to) 0.0.
|
||||||
static inline bool IsZero(NT a)
|
static inline bool IsZero(NT a)
|
||||||
{
|
{
|
||||||
return (CGAL_CLIB_STD::fabs(a) < 10.0 * std::numeric_limits<NT>::min());
|
return (CGAL_CLIB_STD::fabs(a) < 10.0 * (std::numeric_limits<NT>::min)());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue