mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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++)
|
||||
if (surfelements[i].IsDeleted())
|
||||
{
|
||||
surfelements[i] = surfelements.Last();
|
||||
surfelements.DeleteLast();
|
||||
/*
|
||||
surfelements.Delete(i);
|
||||
surfelements.DeleteElement(i);
|
||||
i--;
|
||||
*/
|
||||
}
|
||||
|
||||
for (int i = 0; i < segments.Size(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user