Skip to content

Commit

Permalink
type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jettjaniak committed Feb 5, 2024
1 parent 49bc620 commit 0ae352b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/delphi/train/shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, seed: int):
assert 0 <= seed < self.m
self.state = seed

def __call__(self):
def __call__(self) -> int:
self.state = (self.state * self.a) % self.m
return self.state

Expand Down

0 comments on commit 0ae352b

Please sign in to comment.