summaryrefslogtreecommitdiff
path: root/src/python/gudhi/weighted_rips_complex.py
diff options
context:
space:
mode:
authoryuichi-ike <yuichi.ike.1990@gmail.com>2020-04-06 16:48:21 +0900
committeryuichi-ike <yuichi.ike.1990@gmail.com>2020-04-06 16:48:21 +0900
commit15586d479be885319dde6f703c3126176b796732 (patch)
tree86529aeef79aa556302459c2f9e0051e70c4c34d /src/python/gudhi/weighted_rips_complex.py
parent5737c5e1e89cc4c939a784742f25b26ca163332d (diff)
bug fixed
Diffstat (limited to 'src/python/gudhi/weighted_rips_complex.py')
-rw-r--r--src/python/gudhi/weighted_rips_complex.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/gudhi/weighted_rips_complex.py b/src/python/gudhi/weighted_rips_complex.py
index 84e8e38e..7d14ac65 100644
--- a/src/python/gudhi/weighted_rips_complex.py
+++ b/src/python/gudhi/weighted_rips_complex.py
@@ -51,5 +51,7 @@ class WeightedRipsComplex:
value = (dist[i][j] + F[i] + F[j]) / 2
if value < self.max_filtration:
st.insert([i,j], filtration=value)
+
+ st.expansion(max_dimension)
return st