summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuichi-ike <yuichi.ike.1990@gmail.com>2020-05-12 13:09:40 +0900
committeryuichi-ike <yuichi.ike.1990@gmail.com>2020-05-12 13:09:40 +0900
commit2c4049895bb2844c2ad1b43b9df51ad5b259fc39 (patch)
tree232d16dad0810a3564450bad0f55c8c1ddfc3f0b
parent23547c0cbbe9e42b4dfadec3a116751302fd19ab (diff)
a test in a document fixed
-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: