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:
Jane Tournois 2017-12-15 10:24:11 +01:00
parent e888bd46c1
commit c55d75ede8
1 changed files with 2 additions and 1 deletions

View File

@ -307,6 +307,7 @@ private:
// Find the minimum value
do
{
if (!cdt_.is_infinite(face))
min_sqr = (std::min)(min_sqr, sq_circumradius(face));
face++;
}