diff --git a/python/dune/codegen/error.py b/python/dune/codegen/error.py index 95b9bbf7dafd88c9491c48de09a9dc9f8287e964..047e8becc306cfda369c787175a45503aabcdd97 100644 --- a/python/dune/codegen/error.py +++ b/python/dune/codegen/error.py @@ -26,4 +26,4 @@ class CodegenAutotuneError(CodegenVectorizationError): class CodegenUnsupportedFiniteElementError(CodegenUFLError): - pass \ No newline at end of file + pass diff --git a/python/dune/codegen/pdelab/driver/__init__.py b/python/dune/codegen/pdelab/driver/__init__.py index db07f11644228d182f94cfab7da27f693121db85..12b5af6d9da9344b99064ee6fc071c52ac35dcd2 100644 --- a/python/dune/codegen/pdelab/driver/__init__.py +++ b/python/dune/codegen/pdelab/driver/__init__.py @@ -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):