[chronojump] Fixed networks get encoder exercises on inertial on 3.1
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed networks get encoder exercises on inertial on 3.1
- Date: Tue, 5 Apr 2022 10:29:22 +0000 (UTC)
commit 4624f2d6f36550efd4ebed367822721b73730c9c
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Apr 5 12:28:55 2022 +0200
Fixed networks get encoder exercises on inertial on 3.1
src/json/compujump.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/json/compujump.cs b/src/json/compujump.cs
index 048d35529..00222d769 100644
--- a/src/json/compujump.cs
+++ b/src/json/compujump.cs
@@ -387,7 +387,7 @@ public class JsonCompujump : Json
newExPercentBodyMassDisplaced = jsonSE
["measurable_info"]["percent_body_mass_displaced"];
double newExSpeedAt1RM = 0;
- if(jsonSE ["measurable_info"]["speed_at_one_rm"] != null)
+ if(type == "G" && jsonSE ["measurable_info"]["speed_at_one_rm"] != null)
newExSpeedAt1RM = Convert.ToDouble(Util.ChangeDecimalSeparator(
jsonSE
["measurable_info"]["speed_at_one_rm"].ToString() )); //ToString is mandatory
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]