fixed advances

This commit is contained in:
niart120 2022-01-10 06:08:06 +09:00
parent 9b6b0c35cd
commit 1090f9d0d9

View File

@ -40,7 +40,7 @@ class Xorshift(object):
return self.w
def advances(self,length:int):
self.getNextRandSequence(self)
self.getNextRandSequence(length)
def range(self,mi:int,ma:int)->int:
"""generate random integer value in [mi,ma)