From ea833b9e5caa7e8051c41f6a2ecf3911ef8d057c Mon Sep 17 00:00:00 2001 From: Michal Habera Date: Thu, 28 Nov 2024 08:46:55 +0100 Subject: [PATCH] Use default value shape for symmetric elements (#885) --- python/basix/ufl.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/basix/ufl.py b/python/basix/ufl.py index 4b611b6a5..7cb8c2853 100644 --- a/python/basix/ufl.py +++ b/python/basix/ufl.py @@ -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