We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7706606 + 7141420 commit fa7af20Copy full SHA for fa7af20
data_structures/kd_tree/example/hypercube_points.py
@@ -16,6 +16,6 @@ def hypercube_points(
16
An array of shape (num_points, num_dimensions)
17
with generated points.
18
"""
19
- rng = np.random.default_rng()
+ rng = np.random.default_rng(5)
20
shape = (num_points, num_dimensions)
21
return hypercube_size * rng.random(shape)
0 commit comments