Skip to content

Commit

Permalink
Merge pull request #5419 from nabenabe0928/hotfix/fix-ci
Browse files Browse the repository at this point in the history
Hotfix CI
  • Loading branch information
eukaryo committed Apr 25, 2024
2 parents 85a8a0d + 0b73a52 commit 137b1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optuna/samplers/_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(
self._param_names = sorted(search_space.keys())
self._n_min_trials = len(self._all_grids)
self._rng = LazyRandomState(seed)
self._rng.rng.shuffle(self._all_grids)
self._rng.rng.shuffle(self._all_grids) # type: ignore[arg-type]

def reseed_rng(self) -> None:
self._rng.rng.seed()
Expand Down

0 comments on commit 137b1b4

Please sign in to comment.