mirror of https://github.com/CGAL/cgal
Use numeric_limits
This commit is contained in:
parent
e354f7ce4d
commit
ae07848870
|
|
@ -47,8 +47,8 @@ struct box_limits<unsigned int> {
|
|||
|
||||
template<>
|
||||
struct box_limits<float> {
|
||||
static float inf() { return -sup(); }
|
||||
static float sup() { return CGALi::infinity; }
|
||||
static float inf() { return (std::numeric_limits<float>::min)(); }
|
||||
static float sup() { return (std::numeric_limits<float>::max)(); }
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
|
|||
Loading…
Reference in New Issue