mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
fix loop in mesh compress
This commit is contained in:
parent
e8960ebae1
commit
70a7a1239e
@ -3270,12 +3270,8 @@ namespace netgen
|
|||||||
for (int i = 0; i < surfelements.Size(); i++)
|
for (int i = 0; i < surfelements.Size(); i++)
|
||||||
if (surfelements[i].IsDeleted())
|
if (surfelements[i].IsDeleted())
|
||||||
{
|
{
|
||||||
surfelements[i] = surfelements.Last();
|
surfelements.DeleteElement(i);
|
||||||
surfelements.DeleteLast();
|
|
||||||
/*
|
|
||||||
surfelements.Delete(i);
|
|
||||||
i--;
|
i--;
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < segments.Size(); i++)
|
for (int i = 0; i < segments.Size(); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user