[chronojump] GetDjPower with weight also in exportSession
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] GetDjPower with weight also in exportSession
- Date: Tue, 2 Dec 2014 16:53:05 +0000 (UTC)
commit df2632f73818784ad3fe0b3b2e0157855b6cdbc5
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Dec 2 17:52:45 2014 +0100
GetDjPower with weight also in exportSession
src/exportSession.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/exportSession.cs b/src/exportSession.cs
index af41bbd..54bcc90 100644
--- a/src/exportSession.cs
+++ b/src/exportSession.cs
@@ -304,7 +304,7 @@ public class ExportSession
string power = "-";
if(tf > 0) {
if(tc > 0) //dj
- power = Util.TrimDecimals(Util.GetDjPower(tc, tf,
personWeight, fall).ToString(), dec);
+ power = Util.TrimDecimals(Util.GetDjPower(tc, tf,
(personWeight + weightInKg), fall).ToString(), dec);
else //it's a normal jump without tc
power = Util.TrimDecimals(Util.GetPower(tf, personWeight,
weightInKg).ToString(), dec);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]