Skip to content

Commit 71a8c1a

Browse files
authored
Merge pull request #1 from r-sugawara/r-sugawara-patch-1
Update example_usage.py
2 parents f16d38f + 9f6ef7c commit 71a8c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/kd_tree/example/example_usage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def main() -> None:
1919
hypercube_kdtree = build_kdtree(points.tolist())
2020

2121
# Generate a random query point within the same space
22-
rng = np.random.default_rng()
22+
rng = np.random.default_rng(5)
2323
query_point: list[float] = rng.random(num_dimensions).tolist()
2424

2525
# Perform nearest neighbor search

0 commit comments

Comments
 (0)