From 51e194b1db739e3cc457f7cf1df2d02c4ccf03cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20He=C3=9F?= <rene.hess@iwr.uni-heidelberg.de> Date: Fri, 15 Feb 2019 21:17:13 +0100 Subject: [PATCH] Fix pep 8 --- python/dune/codegen/sumfact/autotune.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/dune/codegen/sumfact/autotune.py b/python/dune/codegen/sumfact/autotune.py index 6273e355..1004c77c 100644 --- a/python/dune/codegen/sumfact/autotune.py +++ b/python/dune/codegen/sumfact/autotune.py @@ -185,7 +185,7 @@ def generate_standalone_code_google_benchmark(sf, filename): # Add the implementation of the kernel. # TODO: This can probably done in a safer way? first_line = knl.member.lines[0] - arguments = first_line[first_line.find("(")+1:first_line.find(")")] + arguments = first_line[first_line.find("(") + 1:first_line.find(")")] with open(filename, "w") as f: f.writelines(["// {}".format(first_line), @@ -202,7 +202,7 @@ def generate_standalone_code_google_benchmark(sf, filename): "\n" ]) - write_global_data(sf, filename); + write_global_data(sf, filename) with open(filename, "a") as f: f.write("void sumfact_kernel({})\n".format(arguments)) -- GitLab