From 1ab09851e171a2aa5f570cefdc80ec584e733bf4 Mon Sep 17 00:00:00 2001 From: Marcel Koch <marcel.koch@uni-muenster.de> Date: Wed, 6 Feb 2019 11:35:34 +0100 Subject: [PATCH] pep8 --- python/dune/codegen/pdelab/tensors.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/dune/codegen/pdelab/tensors.py b/python/dune/codegen/pdelab/tensors.py index 3a8c377b..6c6c5591 100644 --- a/python/dune/codegen/pdelab/tensors.py +++ b/python/dune/codegen/pdelab/tensors.py @@ -1,9 +1,7 @@ """ Code generation for explicitly specified tensors """ from dune.codegen.generation import (get_counted_variable, - domain, kernel_cached, - iname, instruction, temporary_variable, ) @@ -12,7 +10,6 @@ from dune.codegen.loopy.symbolic import FusedMultiplySub as FMS from loopy.match import Writes import pymbolic.primitives as prim -import numpy as np import loopy as lp import itertools as it @@ -119,7 +116,7 @@ def name_determinant_inverse(matrix, shape, visitor): def name_matrix_inverse(name, shape, visitor): - name_inv = name + "_inv" + name_inv = name + "_inv" define_matrix_inverse(name, name_inv, shape, visitor) -- GitLab