Skip to content

Commit

Permalink
Use default value shape for symmetric elements (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalhabera authored Nov 28, 2024
1 parent d2361fb commit ea833b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/basix/ufl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1304,9 +1304,6 @@ def block_size(self) -> int:
@property
def reference_value_shape(self) -> tuple[int, ...]:
"""Reference value shape of the element basis function."""
if self._has_symmetry:
assert len(self._block_shape) == 2 and self._block_shape[0] == self._block_shape[1]
return (self._block_shape[0] * (self._block_shape[0] + 1) // 2,)
return self._reference_value_shape

@property
Expand Down

0 comments on commit ea833b9

Please sign in to comment.