summaryrefslogtreecommitdiff
path: root/src/python/doc/rips_complex_ref.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/doc/rips_complex_ref.rst')
-rw-r--r--src/python/doc/rips_complex_ref.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/rips_complex_ref.rst b/src/python/doc/rips_complex_ref.rst
index 1f73f95b..a5b4ffed 100644
--- a/src/python/doc/rips_complex_ref.rst
+++ b/src/python/doc/rips_complex_ref.rst
@@ -36,7 +36,7 @@ The following example computes the weighted Rips filtration associated with a di
weights = [1, 100]
w_rips = WeightedRipsComplex(distance_matrix=dist, weights=weights)
st = w_rips.create_simplex_tree(max_dimension=2)
- print(st.get_filtration())
+ print(list(st.get_filtration()))
The output is: