Skip to content

Commit aee3c28

Browse files
committed
fix
1 parent 8ea77ca commit aee3c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/transforms/test_add_edge_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ def test_add_edge_index():
7878
adata = tf(adata)
7979
assert torch.equal(adata.uns["edge_index"], edge_index_gt)
8080
assert torch.allclose(adata.uns["edge_weight"], edge_weight_gt)
81-
assert np.allclose(adata.obsp["pred_distances"].A, adata.obsp["gt_distances"].A)
81+
assert np.allclose(adata.obsp["pred_distances"].toarray(), adata.obsp["gt_distances"].toarray())

0 commit comments

Comments
 (0)