summaryrefslogtreecommitdiff
path: root/src/python/example/alpha_complex_from_generated_points_on_sphere_example.py
diff options
context:
space:
mode:
authorHind Montassif <hind.montassif@gmail.com>2021-05-10 10:58:36 +0200
committerHind Montassif <hind.montassif@gmail.com>2021-05-10 10:58:36 +0200
commit62510e70009ff2fc65028b88b56886fb53743e51 (patch)
tree90aed209b182fe5983f22b85237a6b3497db9110 /src/python/example/alpha_complex_from_generated_points_on_sphere_example.py
parent2b694f9beae0e5fa78ae5b8923e7f2905c58777f (diff)
Rename dim to ambient_dim for sphere (to be consistent with dim in torus)
Diffstat (limited to 'src/python/example/alpha_complex_from_generated_points_on_sphere_example.py')
-rw-r--r--src/python/example/alpha_complex_from_generated_points_on_sphere_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/example/alpha_complex_from_generated_points_on_sphere_example.py b/src/python/example/alpha_complex_from_generated_points_on_sphere_example.py
index e73584d3..267e6436 100644
--- a/src/python/example/alpha_complex_from_generated_points_on_sphere_example.py
+++ b/src/python/example/alpha_complex_from_generated_points_on_sphere_example.py
@@ -22,7 +22,7 @@ print("#####################################################################")
print("AlphaComplex creation from generated points on sphere")
-gen_points = points.sphere(n_samples = 50, dim = 2, radius = 1, sample = "random")
+gen_points = points.sphere(n_samples = 50, ambient_dim = 2, radius = 1, sample = "random")
# Create an alpha complex
alpha_complex = AlphaComplex(points = gen_points)