Merge branch 'fix_bug_combineimprove2d' into 'master'

Fix bug in 2d CombineImprove optimization

See merge request ngsolve/netgen!535
This commit is contained in:
Schöberl, Joachim 2022-10-07 17:00:10 +02:00
commit dbba52409d

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;