From a44816fbfbf36cd3efa1786f369111494a78ae37 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Mon, 29 Jul 2019 19:20:08 +0200 Subject: [PATCH] Fixup is_simplicial for tensor product elements --- python/dune/codegen/error.py | 2 +- python/dune/codegen/pdelab/driver/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/dune/codegen/error.py b/python/dune/codegen/error.py index 95b9bbf7..047e8bec 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 db07f116..12b5af6d 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): -- GitLab