From 3ffe80a4d17b59422dab18b0898e3f9ca4131672 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Wed, 22 Mar 2017 07:39:11 +0000 Subject: 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 --- src/cython/doc/simplex_tree_user.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cython/doc/simplex_tree_user.rst') 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) -- cgit v1.2.3