Skip to content

Commit 9f6ef7c

Browse files
authored
Update example_usage.py
inpt seed
1 parent f16d38f commit 9f6ef7c

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)