From 7b72936f75251f53ac82effa2842d6d4437d310c Mon Sep 17 00:00:00 2001
From: Martin Bauer <martin.bauer@fau.de>
Date: Thu, 25 Oct 2018 16:53:39 +0200
Subject: [PATCH] Flake reported style fixes

---
 backends/cbackend.py | 2 +-
 stencils.py          | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/backends/cbackend.py b/backends/cbackend.py
index 54be489..a8c1c32 100644
--- a/backends/cbackend.py
+++ b/backends/cbackend.py
@@ -9,7 +9,7 @@ except ImportError:
     from sympy.printing.ccode import CCodePrinter  # for sympy versions < 1.1
 
 from pystencils.integer_functions import bitwise_xor, bit_shift_right, bit_shift_left, bitwise_and, \
-    bitwise_or, modulo_floor, modulo_ceil
+    bitwise_or, modulo_ceil
 from pystencils.astnodes import Node, KernelFunction
 from pystencils.data_types import create_type, PointerType, get_type_of_expression, VectorType, cast_func, \
     vector_memory_access
diff --git a/stencils.py b/stencils.py
index 428d22d..4036b4e 100644
--- a/stencils.py
+++ b/stencils.py
@@ -149,9 +149,6 @@ def stencil_coefficient_list(expr, matrix_form=False):
             raise ValueError("Can only handle fields with 1,2 or 3 spatial dimensions")
 
 
-def inverse_direction(direction):
-    return type(direction)(-e for e in direction)
-
 # ------------------------------------- Point-on-compass notation ------------------------------------------------------
 
 
-- 
GitLab