summaryrefslogtreecommitdiff
path: root/src/cython/example/alpha_complex_from_points_example.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-11-29 16:50:55 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-11-29 16:50:55 +0000
commit97d80185d6ec4d5e8f81b4cd4936d29a6d63b05b (patch)
tree58b2340961e93d39ea8f837f0658aa97f1c4ab81 /src/cython/example/alpha_complex_from_points_example.py
parent2976ab407d564b46173aeedf5c1e876b5cfc5a97 (diff)
Fix interface for Alpha complex and Tangential complex
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@1801 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 995b53c7f65057ec155988b90f17299665eab4ae
Diffstat (limited to 'src/cython/example/alpha_complex_from_points_example.py')
-rwxr-xr-xsrc/cython/example/alpha_complex_from_points_example.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cython/example/alpha_complex_from_points_example.py b/src/cython/example/alpha_complex_from_points_example.py
index 45319f7f..ae21c711 100755
--- a/src/cython/example/alpha_complex_from_points_example.py
+++ b/src/cython/example/alpha_complex_from_points_example.py
@@ -31,8 +31,7 @@ __license__ = "GPL v3"
print("#####################################################################")
print("AlphaComplex creation from points")
alpha_complex = AlphaComplex(points=[[0, 0], [1, 0], [0, 1], [1, 1]])
-simplex_tree = SimplexTree()
-alpha_complex.create_simplex_tree(simplex_tree, max_alpha_square=60.0)
+simplex_tree = alpha_complex.create_simplex_tree(max_alpha_square=60.0)
if simplex_tree.find([0, 1]):
print("[0, 1] Found !!")