forked from ScoDoc/DocScoDoc
Fix: calcul du malus BUT par UE. Close #417
This commit is contained in:
parent
9f46849729
commit
c0c78074b2
@ -506,7 +506,8 @@ def compute_malus(
|
||||
]
|
||||
)
|
||||
if len(modimpl_mask):
|
||||
malus_moys = sem_modimpl_moys[:, modimpl_mask].sum(axis=1)
|
||||
# somme 1er composante du malus qui est scalaire
|
||||
malus_moys = sem_modimpl_moys[:, modimpl_mask, 0].sum(axis=1)
|
||||
malus[ue.id] = malus_moys
|
||||
|
||||
malus.fillna(0.0, inplace=True)
|
||||
|
Loading…
Reference in New Issue
Block a user