deal with cells with subdomain_index 0

This commit is contained in:
Jane Tournois 2025-02-27 15:13:20 +01:00
parent f7629fa682
commit 2d4c17a088
1 changed files with 2 additions and 2 deletions

View File

@ -447,8 +447,8 @@ public:
cit != c3t3_item->c3t3().triangulation().finite_cells_end();
++cit)
{
CGAL_assertion(cit->info() >= 0);
c3t3_item->c3t3().add_to_complex(cit, cit->info());
if(cit->info() != 0)
c3t3_item->c3t3().add_to_complex(cit, cit->info());
for(int i=0; i < 4; ++i)
{
if(cit->surface_patch_index(i)>0)