Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Bindgen
pystencils
Commits
40d720a9
Commit
40d720a9
authored
Oct 01, 2019
by
Martin Bauer
Browse files
No automatic simplify in SympyAssignment astnode
parent
e55c5d8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/astnodes.py
View file @
40d720a9
...
...
@@ -503,7 +503,7 @@ class SympyAssignment(Node):
def
__init__
(
self
,
lhs_symbol
,
rhs_expr
,
is_const
=
True
):
super
(
SympyAssignment
,
self
).
__init__
(
parent
=
None
)
self
.
_lhs_symbol
=
lhs_symbol
self
.
rhs
=
sp
.
s
i
mp
l
ify
(
rhs_expr
)
self
.
rhs
=
sp
.
s
y
mpify
(
rhs_expr
)
self
.
_is_const
=
is_const
self
.
_is_declaration
=
self
.
__is_declaration
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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