Skip to content

Commit b01da2f

Browse files
committed
Ignore type hint issue
1 parent dfbb5c7 commit b01da2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymc/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,4 +1023,5 @@ def get_random_generator(
10231023
if isinstance(seed, np.random.Generator | np.random.BitGenerator):
10241024
return random_generator_from_state(get_state_from_generator(seed))
10251025
seed = deepcopy(seed)
1026-
return np.random.default_rng(seed)
1026+
# 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

Comments
 (0)