fix min/max problem

This commit is contained in:
Andreas Fabri 2006-08-03 03:34:24 +00:00
parent 5650edce6f
commit 51ab866a43
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public:
FT d1 = p0p1*p0p1,
d2 = p0p2*p0p2,
d3 = p0p3*p0p3;
m_d = CGAL::sqrt( std::max( std::max(d1,d2), d3) );
m_d = CGAL::sqrt( (std::max)( (std::max)(d1,d2), d3) );
}
FT& d() {return m_d;}
const FT d() const {return m_d;}