Skip to content

Commit fb007d7

Browse files
committed
k
1 parent 7e11ca5 commit fb007d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

finat/ufl/mixedelement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def __init__(self, family, cell=None, degree=None, dim=None,
318318
if cell is None:
319319
raise ValueError("Cannot infer vector dimension without a cell.")
320320
# TODO: is this the right default
321+
cell, = cell.cells# Vectorelement of mixed elements.
321322
dim = cell.topological_dimension()
322323

323324
self._mapping = sub_element.mapping()

0 commit comments

Comments
 (0)