We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfbb5c7 commit b01da2fCopy full SHA for b01da2f
pymc/util.py
@@ -1023,4 +1023,5 @@ def get_random_generator(
1023
if isinstance(seed, np.random.Generator | np.random.BitGenerator):
1024
return random_generator_from_state(get_state_from_generator(seed))
1025
seed = deepcopy(seed)
1026
- return np.random.default_rng(seed)
+ # FIXME: No idea what seed type hint would make mypy happy
1027
+ return np.random.default_rng(seed) # type: ignore[incompatible-type]
0 commit comments