diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2022-11-17 00:30:02 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2022-11-17 00:30:02 +0100 |
commit | c80a322a397f88e2b32d4ef286c462a96c20206a (patch) | |
tree | dd3a5648b51897f4ea9a49e2248e1a848d2070c2 | |
parent | 7c064bb64135bd94417ec7a52eeb2bee0a115075 (diff) |
Rename argument of expansion
-rw-r--r-- | src/python/gudhi/simplex_tree.pyx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/gudhi/simplex_tree.pyx b/src/python/gudhi/simplex_tree.pyx index 05bfe22e..ec18b708 100644 --- a/src/python/gudhi/simplex_tree.pyx +++ b/src/python/gudhi/simplex_tree.pyx @@ -376,7 +376,7 @@ cdef class SimplexTree: """ return self.get_ptr().prune_above_filtration(filtration) - def expansion(self, max_dim): + def expansion(self, max_dimension): """Expands the simplex tree containing only its one skeleton until dimension max_dim. @@ -390,10 +390,10 @@ cdef class SimplexTree: The simplex tree must contain no simplex of dimension bigger than 1 when calling the method. - :param max_dim: The maximal dimension. - :type max_dim: int + :param max_dimension: The maximal dimension. + :type max_dimension: int """ - cdef int maxdim = max_dim + cdef int maxdim = max_dimension with nogil: self.get_ptr().expansion(maxdim) |