Skip to content
Snippets Groups Projects
Commit 339ac46f authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Merge branch 'bugfix/system-component-iteration' into 'master'

[bugfix] Correctly iterate over children of MixedElement

See merge request !171
parents 25ccefa8 e1ca5fbc
No related branches found
No related tags found
No related merge requests found
...@@ -334,7 +334,7 @@ def _list_infos(expr, number, visitor): ...@@ -334,7 +334,7 @@ def _list_infos(expr, number, visitor):
elif visitor.measure == "interior_facet": elif visitor.measure == "interior_facet":
restrictions = (Restriction.NEGATIVE, Restriction.POSITIVE) restrictions = (Restriction.NEGATIVE, Restriction.POSITIVE)
for res in restrictions: for res in restrictions:
for ei in range(element.num_sub_elements() + 1): for ei in range(element.value_size()):
yield PDELabAccumulationInfo(element_index=ei, restriction=res) yield PDELabAccumulationInfo(element_index=ei, restriction=res)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment