summaryrefslogtreecommitdiff
path: root/src/python/test/test_weighted_rips.py
diff options
context:
space:
mode:
authoryuichi-ike <yuichi.ike.1990@gmail.com>2020-05-11 10:45:02 +0900
committeryuichi-ike <yuichi.ike.1990@gmail.com>2020-05-11 10:45:02 +0900
commit5040c75893cb864f5e780b6644b8097f7beeb3a6 (patch)
tree66e9d7635f909c13a11935299ae2d03d5e845fe1 /src/python/test/test_weighted_rips.py
parent3685c604e78b1aa8b472a7a96716f7c126497a70 (diff)
document and comments added, weights modified
Diffstat (limited to 'src/python/test/test_weighted_rips.py')
-rw-r--r--src/python/test/test_weighted_rips.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/test/test_weighted_rips.py b/src/python/test/test_weighted_rips.py
index d3721115..59ec022a 100644
--- a/src/python/test/test_weighted_rips.py
+++ b/src/python/test/test_weighted_rips.py
@@ -51,7 +51,7 @@ def test_compatibility_with_filtered_rips():
assert st.num_vertices() == 4
def test_dtm_rips_complex():
- pts = np.array([[2.0, 2], [0, 1], [3, 4]])
+ pts = np.array([[2.0, 2.0], [0.0, 1.0], [3.0, 4.0]])
dist = cdist(pts,pts)
dtm = DistanceToMeasure(2, q=2, metric="precomputed")
r = dtm.fit_transform(dist)