Skip to content
Snippets Groups Projects
Commit a44816fb authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Fixup is_simplicial for tensor product elements

parent dce8b224
No related branches found
No related tags found
No related merge requests found
......@@ -26,4 +26,4 @@ class CodegenAutotuneError(CodegenVectorizationError):
class CodegenUnsupportedFiniteElementError(CodegenUFLError):
pass
\ No newline at end of file
pass
......@@ -87,7 +87,7 @@ def isLagrange(fem):
def isSimplical(cell):
if isinstance(cell, TensorProductCell):
return all(tuple(isSimplical(c) for c in cell.sub_cells()))
return False
# Cells can be identified through strings *or* ufl objects
if not isinstance(cell, str):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment