From b4c7628c079da1e72e2e8beaea62c82f3b69c534 Mon Sep 17 00:00:00 2001 From: jorgensd Date: Thu, 1 Sep 2022 14:11:17 +0000 Subject: [PATCH] Resolve https://github.com/FEniCS/dolfinx/issues/2342 --- ffcx/naming.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffcx/naming.py b/ffcx/naming.py index dc05b51a2..80722871f 100644 --- a/ffcx/naming.py +++ b/ffcx/naming.py @@ -54,7 +54,8 @@ def compute_signature(ufl_objects: typing.List[ domains.append(*arg.ufl_function_space().ufl_domains()) for gc in ufl.algorithms.analysis.extract_type(expr, ufl.classes.GeometricQuantity): domains.append(*gc.ufl_domains()) - + for const in consts: + domains.append(const.ufl_domain()) domains = ufl.algorithms.analysis.unique_tuple(domains) rn.update(dict((d, i) for i, d in enumerate(domains)))