mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-11-20 17:32:43 +01:00
fixed advances
This commit is contained in:
parent
9b6b0c35cd
commit
1090f9d0d9
@ -40,7 +40,7 @@ class Xorshift(object):
|
|||||||
return self.w
|
return self.w
|
||||||
|
|
||||||
def advances(self,length:int):
|
def advances(self,length:int):
|
||||||
self.getNextRandSequence(self)
|
self.getNextRandSequence(length)
|
||||||
|
|
||||||
def range(self,mi:int,ma:int)->int:
|
def range(self,mi:int,ma:int)->int:
|
||||||
"""generate random integer value in [mi,ma)
|
"""generate random integer value in [mi,ma)
|
||||||
|
Loading…
Reference in New Issue
Block a user