[hotfix] Fix mypy error

This commit is contained in:
c-bata committed 2024-06-26 10:45:01 +09:00
1 parent 0c733bcc9c
commit 1a3a250236
1 file changed
+1 -1
+1 -1
View File
@@ -317,7 +317,7 @@ class PreferentialGPSampler(optuna.samplers.BaseSampler):
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()