summaryrefslogtreecommitdiff
path: root/src/python/doc/witness_complex_user.rst
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-13 09:55:01 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-13 09:55:01 +0100
commitb6e1d3025e27eed08eb8a1c5f95a80d6c6a9ce15 (patch)
tree5ada1e558644fcd8fea02d6156901b54cafdbfbd /src/python/doc/witness_complex_user.rst
parentf61d7c2c9f1148ee1bc749d1f7007f5c01f4ffb4 (diff)
Fix #194 : Rename read_off as it only read points from OFF file
Diffstat (limited to 'src/python/doc/witness_complex_user.rst')
-rw-r--r--src/python/doc/witness_complex_user.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/witness_complex_user.rst b/src/python/doc/witness_complex_user.rst
index 45ba5b3b..7087fa98 100644
--- a/src/python/doc/witness_complex_user.rst
+++ b/src/python/doc/witness_complex_user.rst
@@ -101,7 +101,7 @@ Let's start with a simple example, which reads an off point file and computes a
print("#####################################################################")
print("EuclideanWitnessComplex creation from points read in a OFF file")
- witnesses = gudhi.read_off(off_file=args.file)
+ witnesses = gudhi.read_points_from_off_file(off_file=args.file)
landmarks = gudhi.pick_n_random_points(points=witnesses, nb_points=args.number_of_landmarks)
message = "EuclideanWitnessComplex with max_edge_length=" + repr(args.max_alpha_square) + \