We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f16d38f commit 9f6ef7cCopy full SHA for 9f6ef7c
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