diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-04-17 11:46:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 11:46:49 +0200 |
commit | 9cd2062958d20a86fe234b960524160d31e18396 (patch) | |
tree | 908186725f317b867dd1ae00a1f6bc656e329d1f /src/python/example | |
parent | 44996b632685eb077e61f79b1dd07d172776acb9 (diff) | |
parent | 6dcedaeb83e7aef1e1a5e20a72b6ae00651e186f (diff) |
Merge pull request #268 from mglisse/filtration
Streamline initialize_filtration
Diffstat (limited to 'src/python/example')
-rwxr-xr-x | src/python/example/alpha_complex_from_points_example.py | 3 | ||||
-rwxr-xr-x | src/python/example/simplex_tree_example.py | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/python/example/alpha_complex_from_points_example.py b/src/python/example/alpha_complex_from_points_example.py index 73faf17c..465632eb 100755 --- a/src/python/example/alpha_complex_from_points_example.py +++ b/src/python/example/alpha_complex_from_points_example.py @@ -46,9 +46,6 @@ if simplex_tree.find([4]): else: print("[4] Not found...") -# Some insertions, simplex_tree needs to initialize filtrations -simplex_tree.initialize_filtration() - print("dimension=", simplex_tree.dimension()) print("filtrations=") for simplex_with_filtration in simplex_tree.get_filtration(): diff --git a/src/python/example/simplex_tree_example.py b/src/python/example/simplex_tree_example.py index 34833899..c4635dc5 100755 --- a/src/python/example/simplex_tree_example.py +++ b/src/python/example/simplex_tree_example.py @@ -42,7 +42,6 @@ print("simplices=") for simplex_with_filtration in st.get_simplices(): print("(%s, %.2f)" % tuple(simplex_with_filtration)) -st.initialize_filtration() print("filtration=") for simplex_with_filtration in st.get_filtration(): print("(%s, %.2f)" % tuple(simplex_with_filtration)) |