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): ...@@ -26,4 +26,4 @@ class CodegenAutotuneError(CodegenVectorizationError):
class CodegenUnsupportedFiniteElementError(CodegenUFLError): class CodegenUnsupportedFiniteElementError(CodegenUFLError):
pass pass
\ No newline at end of file
...@@ -87,7 +87,7 @@ def isLagrange(fem): ...@@ -87,7 +87,7 @@ def isLagrange(fem):
def isSimplical(cell): def isSimplical(cell):
if isinstance(cell, TensorProductCell): 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 # Cells can be identified through strings *or* ufl objects
if not isinstance(cell, str): 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