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
d0dfb8bd
Commit
d0dfb8bd
authored
Aug 02, 2019
by
Stephan Seitz
Browse files
Implement __eq__ for AssignmentCollection
parent
681d7a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/simp/assignment_collection.py
View file @
d0dfb8bd
...
...
@@ -385,6 +385,9 @@ class AssignmentCollection:
subexpressions
=
[
a
.
replace
(
*
args
,
**
kwargs
)
for
a
in
self
.
subexpressions
]
)
def
__eq__
(
self
,
other
):
return
set
(
self
.
all_assignments
)
==
set
(
other
.
all_assignments
)
class
SymbolGen
:
"""Default symbol generator producing number symbols ζ_0, ζ_1, ..."""
...
...
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