Skip to content

Commit f94aafd

Browse files
Merge pull request #151 from scikit-learn-contrib/dev
Dev
2 parents bdf49c8 + e3ae559 commit f94aafd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qolmat/imputations/diffusions/ddpms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def __init__(
114114

115115
self.normalizer_x = preprocessing.StandardScaler()
116116
self.random_state = sku.check_random_state(random_state)
117-
seed_torch = self.random_state.randint(sys.maxsize)
117+
seed_torch = self.random_state.randint(2**31 - 1)
118118
torch.manual_seed(seed_torch)
119119

120120
def _q_sample(self, x: torch.Tensor, t: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:

0 commit comments

Comments
 (0)