summaryrefslogtreecommitdiff
path: root/src/cython/example/alpha_complex_from_points_example.py
diff options
context:
space:
mode:
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 !!")