Fixed bug with master_rng
This commit is contained in:
parent
b7b6456275
commit
87d94ab527
@ -111,7 +111,7 @@ class ColumbusEnv(gym.Env):
|
|||||||
|
|
||||||
def _seed(self, seed):
|
def _seed(self, seed):
|
||||||
if seed == None:
|
if seed == None:
|
||||||
seed = self._master_rng()
|
seed = self._master_rng.random()
|
||||||
self.rng.seed(seed)
|
self.rng.seed(seed)
|
||||||
|
|
||||||
def random(self):
|
def random(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user