summaryrefslogtreecommitdiff
path: root/src/python/example/rips_complex_diagram_persistence_from_off_file_example.py
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-01-18 20:28:51 +0100
committerMarc Glisse <marc.glisse@inria.fr>2020-01-18 20:28:51 +0100
commit0ab5f895846f1d773157181b6aa47c2d96488841 (patch)
tree2e126a000f87bf0a5fce820921bf048ad5b3a8da /src/python/example/rips_complex_diagram_persistence_from_off_file_example.py
parent051c9760a214a11e8e4af14ae6221e34bb876350 (diff)
parentf8a5efa165241b9e27f06431e4919322b359ddb2 (diff)
Merge remote-tracking branch 'origin/master' into doc
Diffstat (limited to 'src/python/example/rips_complex_diagram_persistence_from_off_file_example.py')
-rwxr-xr-xsrc/python/example/rips_complex_diagram_persistence_from_off_file_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/example/rips_complex_diagram_persistence_from_off_file_example.py b/src/python/example/rips_complex_diagram_persistence_from_off_file_example.py
index b9074cf9..c757aca7 100755
--- a/src/python/example/rips_complex_diagram_persistence_from_off_file_example.py
+++ b/src/python/example/rips_complex_diagram_persistence_from_off_file_example.py
@@ -48,7 +48,7 @@ with open(args.file, "r") as f:
message = "RipsComplex with max_edge_length=" + repr(args.max_edge_length)
print(message)
- point_cloud = gudhi.read_off(off_file=args.file)
+ point_cloud = gudhi.read_points_from_off_file(off_file=args.file)
rips_complex = gudhi.RipsComplex(
points=point_cloud, max_edge_length=args.max_edge_length
)