Skip to content

Commit

Permalink
with eps
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Jul 16, 2020
1 parent f445726 commit aba2c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_radius.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_radius_graph_large(dtype, device):
max_num_neighbors=2000, num_workers=6)

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

assert to_set(edge_index) == truth

0 comments on commit aba2c71

Please sign in to comment.