Skip to content

Commit

Permalink
no overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronearlerichardson committed Apr 23, 2024
1 parent cefe366 commit 3f892c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ieeg/calc/fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def mixup(arr: np.ndarray, obs_axis: int, alpha: float = 1.,
[20. , 21. , 22. , 23. ]]])
"""
if seed is None:
seed = np.random.randint(0, 2**32 - 1)
seed = np.random.randint(0, 2**16 - 1)

cmixup(arr, obs_axis, alpha, seed)

Expand Down

0 comments on commit 3f892c4

Please sign in to comment.