We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f16d38f + 9f6ef7c commit 71a8c1aCopy full SHA for 71a8c1a
data_structures/kd_tree/example/example_usage.py
@@ -19,7 +19,7 @@ def main() -> None:
19
hypercube_kdtree = build_kdtree(points.tolist())
20
21
# Generate a random query point within the same space
22
- rng = np.random.default_rng()
+ rng = np.random.default_rng(5)
23
query_point: list[float] = rng.random(num_dimensions).tolist()
24
25
# Perform nearest neighbor search
0 commit comments