Fix bug in 2d CombineImprove optimization

This commit is contained in:
Hochsteger, Matthias 2022-10-07 17:00:10 +02:00 committed by Schöberl, Joachim
parent 11f2ff0c76
commit f09afb2025

View File

@ -527,7 +527,7 @@ namespace netgen
// gi_set = true;
}
*/
for (SurfaceElementIndex sei : elementsonnode[pi1])
for (auto sei : hasbothpi)
{
const Element2d & el1p = mesh[sei];
if (el1p.IsDeleted()) continue;