Commit 7b72936f authored by Martin Bauer's avatar Martin Bauer
Browse files

Flake reported style fixes

parent 85ed77f1
......@@ -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, \
......@@ -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 ------------------------------------------------------
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment