Skip to content

Commit aba2c71

Browse files
committed
with eps
1 parent f445726 commit aba2c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_radius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_radius_graph_large(dtype, device):
6767
max_num_neighbors=2000, num_workers=6)
6868

6969
tree = scipy.spatial.cKDTree(x.numpy())
70-
col = tree.query_ball_point(x.cpu(), r=0.5)
70+
col = tree.query_ball_point(x.cpu(), r=0.5 + 0.00001)
7171
truth = set([(i, j) for i, ns in enumerate(col) for j in ns])
7272

7373
assert to_set(edge_index) == truth

0 commit comments

Comments
 (0)