From b9e68ab269ed2405464972d85173b9dc8447623d Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Tue, 18 Apr 2017 16:18:18 +0200 Subject: [PATCH] pep8 --- python/dune/perftool/sumfact/realization.py | 3 ++- python/dune/perftool/sumfact/tabulation.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/python/dune/perftool/sumfact/realization.py b/python/dune/perftool/sumfact/realization.py index 89c5791e..df7bc831 100644 --- a/python/dune/perftool/sumfact/realization.py +++ b/python/dune/perftool/sumfact/realization.py @@ -55,7 +55,8 @@ def _realize_sum_factorization_kernel(sf): insn_dep = insn_dep.union(frozenset({instruction(code="HP_TIMER_START({});".format(timer_name), within_inames=frozenset(sf.within_inames), depends_on=insn_dep, - ),})) + ), + })) # Set up the input for stage 1 if sf.stage == 1 and not get_option("fastdg"): diff --git a/python/dune/perftool/sumfact/tabulation.py b/python/dune/perftool/sumfact/tabulation.py index 466690a4..92a8883e 100644 --- a/python/dune/perftool/sumfact/tabulation.py +++ b/python/dune/perftool/sumfact/tabulation.py @@ -162,7 +162,7 @@ class BasisTabulationMatrixArray(BasisTabulationMatrixBase): def pymbolic(self, indices): assert len(indices) == 3 - # Check whether we can realize this by broadcasting the values of a simple tabulation + # Check whether we can realize this by broadcasting the values of a simple tabulation if len(set(self.tabs)) == 1: theta = self.tabs[0].pymbolic(indices[:-1]) return prim.Call(ExplicitVCLCast(np.float64, vector_width=len(self.tabs)), (theta,)) -- GitLab