Fixed min max problem

This commit is contained in:
Andreas Fabri 2006-07-31 23:06:40 +00:00
parent 8ec19079fb
commit 833035d00c
1 changed files with 1 additions and 1 deletions

View File

@ -2844,7 +2844,7 @@ copy_tds(const Tds & tds, Vertex_handle vert )
set_dimension(tds.dimension());
// 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)
return vert;