Skip to content
Snippets Groups Projects
Commit 7b72936f authored by Martin Bauer's avatar Martin Bauer
Browse files

Flake reported style fixes

parent 85ed77f1
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ except ImportError: ...@@ -9,7 +9,7 @@ except ImportError:
from sympy.printing.ccode import CCodePrinter # for sympy versions < 1.1 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, \ 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.astnodes import Node, KernelFunction
from pystencils.data_types import create_type, PointerType, get_type_of_expression, VectorType, cast_func, \ from pystencils.data_types import create_type, PointerType, get_type_of_expression, VectorType, cast_func, \
vector_memory_access vector_memory_access
......
...@@ -149,9 +149,6 @@ def stencil_coefficient_list(expr, matrix_form=False): ...@@ -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") 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 ------------------------------------------------------ # ------------------------------------- Point-on-compass notation ------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment