diff --git a/python/dune/perftool/sumfact/realization.py b/python/dune/perftool/sumfact/realization.py index 89c5791e0edb1d08eb51bff020a910d2b4f7c8ac..df7bc8314ebd2ef3f0d79b70ca7222ceb3e92b71 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 466690a4a9fa3fc414ba790c93a098e398abfad5..92a8883eda78d836f002a984afdc66f95c830f1d 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,))