Skip to content

Commit

Permalink
drop
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Jan 9, 2025
1 parent f823e71 commit a92a1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def meshes(self):

def iterable_like(self, element):
"""Return iterable object that is iterable like ``element``."""
return iter(self for _ in element.sub_elements)
return iter(self for _ in range(element.num_sub_elements))

def can_make_function_space(self, element):
"""Check whether this mesh can make a function space with ``element``."""
Expand Down

0 comments on commit a92a1ee

Please sign in to comment.