Skip to content

Commit

Permalink
Merge pull request optuna#895 from c-bata/hotfix-lint-ci
Browse files Browse the repository at this point in the history
[hotfix] Fix mypy error
  • Loading branch information
c-bata authored Jun 26, 2024
2 parents 0c733bc + 1a3a250 commit 49fcfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optuna_dashboard/preferential/samplers/gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def __init__(

self._rng = np.random.RandomState(seed)
self.independent_sampler = independent_sampler or optuna.samplers.RandomSampler(
seed=self._rng.randint(2**32, dtype=np.int64)
seed=self._rng.randint(2**32, dtype=np.int64) # type: ignore
)

self._search_space = optuna.search_space.IntersectionSearchSpace()
Expand Down

0 comments on commit 49fcfaa

Please sign in to comment.