Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tx-techno-num
impactometre
Commits
e2de1377
Commit
e2de1377
authored
Dec 26, 2020
by
Matt Glorion
Browse files
[FIX] le produit en croix à l'envers, déso
🤷
parent
cbb6b1e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
controllers/routes/meeting.js
View file @
e2de1377
...
...
@@ -150,7 +150,7 @@ async function computeEquivalentDamages (scenarios) {
for
(
const
scenario
of
scenarios
)
{
ret
[
sphere
][
equivalent
]
=
!
ret
[
sphere
].
hasOwnProperty
(
equivalent
)
?
{}
:
ret
[
sphere
][
equivalent
];
ret
[
sphere
][
equivalent
][
scenario
.
id
]
=
roundTo
(
equivalentDamages
[
equivalent
][
sphere
]
/
scenario
.
damage
.
totalDamage
[
sphere
],
scenario
.
damage
.
totalDamage
[
sphere
]
/
equivalentDamages
[
equivalent
]
[
sphere
],
1
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment