output_yield change2
This commit is contained in:
parent
d826a0deb9
commit
e9f1cca775
2
env.py
2
env.py
|
@ -111,7 +111,7 @@ class Env(ap.Model):
|
|||
self.out_f_avg_profit = sum(lst_profit) / n_firms
|
||||
self.out_f_gini_profit = self.gini(lst_profit)
|
||||
# self.out_w_percent_hired = n_hired / n_workers
|
||||
self.out_f_avg_yield = sum(lst_a_yield)
|
||||
self.out_f_avg_yield = sum(lst_a_yield) / n_firms
|
||||
|
||||
self.record('out_w_avg_salary')
|
||||
self.record('out_f_avg_yield')
|
||||
|
|
Loading…
Reference in New Issue