diff --git a/src/mmg2d/delone_2d.c b/src/mmg2d/delone_2d.c index ece65221b..45e258800 100644 --- a/src/mmg2d/delone_2d.c +++ b/src/mmg2d/delone_2d.c @@ -260,8 +260,8 @@ int MMG2D_delone(MMG5_pMesh mesh,MMG5_pSol sol,MMG5_int ip,MMG5_int *list,int il MMG5_Hash hedg; static int8_t mmgWarn0=0,mmgWarn1=0; - /* Initialize tagdel field */ - for (k=1; k<=mesh->np-4; k++) + /* Reset tagdel field */ + for (k=1; kpoint[k].tagdel = 0; /* Triangles in the cavity are those s.t. pt->base == base */