diff --git a/env.py b/env.py index 7e6b14e..d4102a2 100644 --- a/env.py +++ b/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')