Fix typo in parameter names
This commit is contained in:
parent
e21d4d230c
commit
5ba07afc9f
|
@ -66,10 +66,10 @@ class Generator:
|
|||
|
||||
def corr_meta_info(self):
|
||||
if random() < self.params["corridor_chance"]:
|
||||
h_sup = randint(self.params["min_h_corr"], \
|
||||
self.params["max_h_corr"]) if random() < .5 else 0
|
||||
w_sup = 0 if h_sup else randint(self.params["min_w_corr"], \
|
||||
self.params["max_w_coor"])
|
||||
h_sup = randint(self.params["min_v_corr"], \
|
||||
self.params["max_v_corr"]) if random() < .5 else 0
|
||||
w_sup = 0 if h_sup else randint(self.params["min_h_corr"], \
|
||||
self.params["max_h_corr"])
|
||||
h_off = h_sup if random() < .5 else 0
|
||||
w_off = w_sup if random() < .5 else 0
|
||||
return h_sup, w_sup, h_off, w_off
|
||||
|
|
Loading…
Reference in New Issue