diff --git a/math/random/rng_lcg48.py b/math/random/rng_lcg48.py index a0f5324..b2de4de 100644 --- a/math/random/rng_lcg48.py +++ b/math/random/rng_lcg48.py @@ -22,6 +22,7 @@ class lcg48(rng_base): # This is "seed 1" in the legacy rannyu seed library. L = 127 n = 11863279 + seed_index = 1 div_two_48 = 2.0**(-48) def __call__(self): L_new = (self.m * self.L + self.n) & 0xFFFFFFFFFFFF