mirror of https://github.com/CGAL/cgal
Fixed min max problem
This commit is contained in:
parent
8ec19079fb
commit
833035d00c
|
|
@ -2844,7 +2844,7 @@ copy_tds(const Tds & tds, Vertex_handle vert )
|
||||||
set_dimension(tds.dimension());
|
set_dimension(tds.dimension());
|
||||||
|
|
||||||
// Number of pointers to cell/vertex to copy per cell.
|
// Number of pointers to cell/vertex to copy per cell.
|
||||||
int dim = std::max(1, dimension() + 1);
|
int dim = (std::max)(1, dimension() + 1);
|
||||||
|
|
||||||
if (n == 0)
|
if (n == 0)
|
||||||
return vert;
|
return vert;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue