forked from ScoDoc/ScoDoc
Fix: bonus additif, valeur max.
This commit is contained in:
parent
7577097db8
commit
01c0328636
@ -228,7 +228,7 @@ class BonusSportAdditif(BonusSport):
|
||||
axis=1,
|
||||
)
|
||||
# Seuil: bonus dans [min, max] (défaut [0,20])
|
||||
bonus_max = self.bonus_max or 0.0
|
||||
bonus_max = self.bonus_max or 20.0
|
||||
np.clip(bonus_moy_arr, self.bonus_min, bonus_max, out=bonus_moy_arr)
|
||||
|
||||
self.bonus_additif(bonus_moy_arr)
|
||||
|
Loading…
Reference in New Issue
Block a user