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,6 +307,7 @@ private:
|
||||||
// Find the minimum value
|
// Find the minimum value
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
if (!cdt_.is_infinite(face))
|
||||||
min_sqr = (std::min)(min_sqr, sq_circumradius(face));
|
min_sqr = (std::min)(min_sqr, sq_circumradius(face));
|
||||||
face++;
|
face++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue