summaryrefslogtreecommitdiff
path: root/src/python/gudhi/simplex_tree.pyx
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2021-04-15 22:48:10 +0200
committerGitHub <noreply@github.com>2021-04-15 22:48:10 +0200
commita6e7f96f7d2c391e4548309174cc05f5ae05d871 (patch)
treecc04fbb434c6924b6f887ef623eb513d8f952cfc /src/python/gudhi/simplex_tree.pyx
parent953a7da68657b9ab493cfb35b41fc46e26a73876 (diff)
Update src/python/gudhi/simplex_tree.pyx
Co-authored-by: Marc Glisse <marc.glisse@inria.fr>
Diffstat (limited to 'src/python/gudhi/simplex_tree.pyx')
-rw-r--r--src/python/gudhi/simplex_tree.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/gudhi/simplex_tree.pyx b/src/python/gudhi/simplex_tree.pyx
index 0bfaa19f..67428401 100644
--- a/src/python/gudhi/simplex_tree.pyx
+++ b/src/python/gudhi/simplex_tree.pyx
@@ -641,8 +641,8 @@ cdef class SimplexTree:
del ptr
def __eq__(self, other:SimplexTree):
- """Simplex tree equality operator using C++ depth first search operator==
+ """Test for structural equality
:returns: True if the 2 simplex trees are equal, False otherwise.
:rtype: bool
"""
- return dereference(self.get_ptr()) == dereference(other.get_ptr()) \ No newline at end of file
+ return dereference(self.get_ptr()) == dereference(other.get_ptr())