Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Plewinski
pystencils
Commits
7b72936f
Commit
7b72936f
authored
Oct 25, 2018
by
Martin Bauer
Browse files
Flake reported style fixes
parent
85ed77f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
backends/cbackend.py
View file @
7b72936f
...
...
@@ -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
...
...
stencils.py
View file @
7b72936f
...
...
@@ -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 ------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment