diff --git a/python/dune/perftool/sumfact/switch.py b/python/dune/perftool/sumfact/switch.py index 1fca79729c31dda371a502141eaeabbd7b0a34a2..873d7d462f7cd560d0c46a1ea811c34d9cec2ef5 100644 --- a/python/dune/perftool/sumfact/switch.py +++ b/python/dune/perftool/sumfact/switch.py @@ -16,7 +16,7 @@ from dune.perftool.cgen.clazz import ClassMember @backend(interface="generate_kernels_per_integral", name="sumfact") def generate_kernels_per_integral(integrals): - dim = get_global_context_value("formdata").geometric_dimension + dim = world_dimension() measure = get_global_context_value("integral_type") if measure == "cell":