Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use default value shape for symmetric elements #885

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading