fixed min/max problem

This commit is contained in:
Andreas Fabri 2006-08-17 09:02:53 +00:00
parent e3d2f8a410
commit c2a2ab091c
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ private:
/// Test if a floating point number is (close to) 0.0.
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
@ -293,7 +293,7 @@ private:
/// Test if a floating point number is (close to) 0.0.
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)());
}
};