From 24fafed684bfb8cc4b34d4663927fb97b80edd75 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Tue, 21 Mar 2017 12:05:32 +0000 Subject: Precise when to use set_dimension function git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2212 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 9e17d1b5e8a96fffe48e1b1e7b6d766d2abf33e0 --- src/cython/cython/simplex_tree.pyx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/cython') diff --git a/src/cython/cython/simplex_tree.pyx b/src/cython/cython/simplex_tree.pyx index 4bcda1cb..bb6fd1db 100644 --- a/src/cython/cython/simplex_tree.pyx +++ b/src/cython/cython/simplex_tree.pyx @@ -169,6 +169,13 @@ cdef class SimplexTree: def set_dimension(self, dimension): """This function sets the dimension of the simplicial complex. + insert and remove_maximal_simplex functions do not update dimension + value of the `SimplexTree`. + + `AlphaComplex`, `RipsComplex`, `TangentialComplex` and `WitnessComplex` + automatically sets the correct dimension in their `create_simplex_tree` + functions. + :param dimension: The new dimension value. :type dimension: int. """ -- cgit v1.2.3