From 2fc250b9773f7ecc70dcabd04b10f26640ea3a44 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Fri, 28 Sep 2018 11:11:20 +0200 Subject: [PATCH] pep8 --- python/dune/perftool/sumfact/autotune.py | 3 +-- python/dune/perftool/sumfact/tabulation.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python/dune/perftool/sumfact/autotune.py b/python/dune/perftool/sumfact/autotune.py index 24f85dc0..7578799c 100644 --- a/python/dune/perftool/sumfact/autotune.py +++ b/python/dune/perftool/sumfact/autotune.py @@ -140,8 +140,7 @@ def generate_standalone_code(sf, filename, logname): ]) # Start a TSC timer - f.writelines([ - " auto start = Dune::PDELab::TSC::start();\n", + f.writelines([" auto start = Dune::PDELab::TSC::start();\n", ]) # Add the implementation of the kernel. diff --git a/python/dune/perftool/sumfact/tabulation.py b/python/dune/perftool/sumfact/tabulation.py index 74a6a3d1..17b85906 100644 --- a/python/dune/perftool/sumfact/tabulation.py +++ b/python/dune/perftool/sumfact/tabulation.py @@ -366,7 +366,7 @@ def sort_quadrature_points_weights(qp, qw, bound): range_field = lop_template_range_field() domain_field = name_domain_field() include_file("dune/perftool/sumfact/onedquadrature.hh", filetag="operatorfile") - return frozenset({instruction(code="onedQuadraturePointsWeights<{}, {}, {}>({}, {});" \ + return frozenset({instruction(code="onedQuadraturePointsWeights<{}, {}, {}>({}, {});" .format(range_field, domain_field, bound, qp, qw), assignees=frozenset({qp, qw}), read_variables=frozenset({qp, qw}), -- GitLab