diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2022-11-18 16:39:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 16:39:27 +0100 |
commit | 2e02bfb27161ba73c376013eed119b0970378207 (patch) | |
tree | 1f4b7e7ef9b89954f763f42d0d7d370eaf23b112 | |
parent | 94e2b090219233be602ed9a59994c2aced288b3a (diff) | |
parent | c80a322a397f88e2b32d4ef286c462a96c20206a (diff) |
Merge pull request #741 from mglisse/maxdim
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 24b970c4..18215d2f 100644 --- a/src/python/gudhi/simplex_tree.pyx +++ b/src/python/gudhi/simplex_tree.pyx @@ -466,7 +466,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. @@ -480,10 +480,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) |