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
36f757e2
Commit
36f757e2
authored
Jul 26, 2019
by
Martin Bauer
Browse files
Bugfix: assignment collection (set_sub_expressions_from_dict)
parent
b8203fb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/simp/assignment_collection.py
View file @
36f757e2
...
...
@@ -359,8 +359,8 @@ class AssignmentCollection:
for
k
,
v
in
main_assignments_dict
.
items
()]
def
set_sub_expressions_from_dict
(
self
,
sub_expressions_dict
):
self
.
sub
_
expressions
=
[
Assignment
(
k
,
v
)
for
k
,
v
in
sub_expressions_dict
.
items
()]
self
.
subexpressions
=
[
Assignment
(
k
,
v
)
for
k
,
v
in
sub_expressions_dict
.
items
()]
class
SymbolGen
:
...
...
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