summaryrefslogtreecommitdiff
path: root/src/cython/doc/simplex_tree_user.rst
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-22 07:39:11 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-22 07:39:11 +0000
commit3ffe80a4d17b59422dab18b0898e3f9ca4131672 (patch)
treee498dbd3bc433141ead2496e8007cfc502d7cf07 /src/cython/doc/simplex_tree_user.rst
parentcd0f1b7513be17bfca4de6ea4744a3d931694a8f (diff)
Interface insert_simplex and insert_simplex_and_subfaces in SimplexTree
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2217 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 1e426a8cbcba192a50b05b5cc7fa4a0fd50d8c9b
Diffstat (limited to 'src/cython/doc/simplex_tree_user.rst')
-rw-r--r--src/cython/doc/simplex_tree_user.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cython/doc/simplex_tree_user.rst b/src/cython/doc/simplex_tree_user.rst
index 3a00f1ac..6b55c4e7 100644
--- a/src/cython/doc/simplex_tree_user.rst
+++ b/src/cython/doc/simplex_tree_user.rst
@@ -35,9 +35,9 @@ Example
import gudhi
st = gudhi.SimplexTree()
- if st.insert([0, 1]):
+ if st.insert_simplex([0, 1]):
print("[0, 1] inserted")
- if st.insert([0, 1, 2], filtration=4.0):
+ if st.insert_simplex_and_subfaces([0, 1, 2], filtration=4.0):
print("[0, 1, 2] inserted")
if st.find([0, 1]):
print("[0, 1] found")
@@ -63,5 +63,5 @@ The output is:
([0, 2], 4.0)
([0], 0.0)
([1, 2], 4.0)
- ([1], 0.0)
+ ([1], 4.0)
([2], 4.0)