From 4673a1e54d3f88ade7b335231336bf43fb349e85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20He=C3=9F?= <rene.hess@iwr.uni-heidelberg.de>
Date: Mon, 19 Dec 2016 09:26:15 +0100
Subject: [PATCH] Small cleanup

---
 python/dune/perftool/sumfact/basis.py   | 10 +++++-----
 python/dune/perftool/sumfact/sumfact.py |  4 +++-
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/python/dune/perftool/sumfact/basis.py b/python/dune/perftool/sumfact/basis.py
index 7e0777dd..21696f29 100644
--- a/python/dune/perftool/sumfact/basis.py
+++ b/python/dune/perftool/sumfact/basis.py
@@ -82,11 +82,11 @@ def pymbolic_trialfunction_gradient(element, restriction, component, visitor):
         if index is not None:
             shape = shape + (4,)
         inp = initialize_buffer(buf,
-                                  base_storage_size=product(max(mat.rows, mat.cols) for mat in a_matrices),
-                                  num=2
-                                  ).get_temporary(shape=shape,
-                                                  name=inp,
-                                                  )
+                                base_storage_size=product(max(mat.rows, mat.cols) for mat in a_matrices),
+                                num=2
+                                ).get_temporary(shape=shape,
+                                                name=inp,
+                                                )
         if insn_dep is None:
             insn_dep = frozenset({Writes(inp)})
 
diff --git a/python/dune/perftool/sumfact/sumfact.py b/python/dune/perftool/sumfact/sumfact.py
index 5b340018..0f8ca116 100644
--- a/python/dune/perftool/sumfact/sumfact.py
+++ b/python/dune/perftool/sumfact/sumfact.py
@@ -308,7 +308,9 @@ def generate_accumulation_instruction(visitor, accterm, measure, subdomain_id):
 
 
 @generator_factory(item_tags=("sumfactkernel",), context_tags=("kernel",), cache_key_generator=lambda a, b, s, **kw: (a, b, s, kw.get("restriction", 0)))
-def sum_factorization_kernel(a_matrices, buf, stage,
+def sum_factorization_kernel(a_matrices,
+                             buf,
+                             stage,
                              insn_dep=frozenset({}),
                              additional_inames=frozenset({}),
                              preferred_position=None,
-- 
GitLab