mirror of https://github.com/CGAL/cgal
Don't use FT in std::numeric_limits
This commit is contained in:
parent
3b3c65e801
commit
3bb9146879
|
|
@ -104,8 +104,8 @@ bool cell_position_QEM(const typename Domain::cell_descriptor& c,
|
|||
#endif
|
||||
|
||||
FT x_min, y_min, z_min, x_max, y_max, z_max;
|
||||
x_min = y_min = z_min = (std::numeric_limits<FT>::max)(); // @todo domain.span()
|
||||
x_max = y_max = z_max = std::numeric_limits<FT>::lowest();
|
||||
x_min = y_min = z_min = (std::numeric_limits<double>::max)();
|
||||
x_max = y_max = z_max = - (std::numeric_limits<double>::max)();
|
||||
FT x(0), y(0), z(0);
|
||||
|
||||
if(constrain_to_cell)
|
||||
|
|
|
|||
|
|
@ -1039,7 +1039,7 @@ private:
|
|||
for(int r=0; r<cnt_sz; ++r)
|
||||
{
|
||||
unsigned int index = -1;
|
||||
FT dist = (std::numeric_limits<FT>::max)();
|
||||
FT dist = (std::numeric_limits<double>::max)();
|
||||
unsigned int ci = get_c(i, r, c_);
|
||||
const FT u_edge = e_vert(ci, 0);
|
||||
const FT v_edge = e_vert(ci, 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue