mirror of https://github.com/CGAL/cgal
sq_circumradius cannot be computed on an infinite facet
there was no need to check if a face is in domain, but we still need to check whether it is infinite
This commit is contained in:
parent
e888bd46c1
commit
c55d75ede8
|
|
@ -307,7 +307,8 @@ private:
|
|||
// Find the minimum value
|
||||
do
|
||||
{
|
||||
min_sqr = (std::min)(min_sqr, sq_circumradius(face));
|
||||
if (!cdt_.is_infinite(face))
|
||||
min_sqr = (std::min)(min_sqr, sq_circumradius(face));
|
||||
face++;
|
||||
}
|
||||
while(face != end);
|
||||
|
|
|
|||
Loading…
Reference in New Issue