Skip to content

Commit fa7af20

Browse files
authored
Merge pull request #2 from r-sugawara/r-sugawara-patch-2
Update hypercube_points.py
2 parents 7706606 + 7141420 commit fa7af20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/kd_tree/example/hypercube_points.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def hypercube_points(
1616
An array of shape (num_points, num_dimensions)
1717
with generated points.
1818
"""
19-
rng = np.random.default_rng()
19+
rng = np.random.default_rng(5)
2020
shape = (num_points, num_dimensions)
2121
return hypercube_size * rng.random(shape)

0 commit comments

Comments
 (0)