From 8f92e3009dfc80908c4c98cdcc0894ab0773daa5 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 30 Jan 2018 13:20:31 +0100
Subject: [PATCH] Remove occurence of formdata in sumfact branch

---
 python/dune/perftool/sumfact/switch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/dune/perftool/sumfact/switch.py b/python/dune/perftool/sumfact/switch.py
index 1fca7972..873d7d46 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":
-- 
GitLab