[chronojump] Fixed crash on forceSensor when exercise is elastic but raw data
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed crash on forceSensor when exercise is elastic but raw data
- Date: Thu, 20 Feb 2020 12:35:25 +0000 (UTC)
commit 4f30395fe7f86918d1b4f47f42b8682dcb7064bd
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Feb 20 13:34:42 2020 +0100
Fixed crash on forceSensor when exercise is elastic but raw data
src/gui/app1/forceSensor.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index feb9a2aa..011638da 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -1868,7 +1868,8 @@ LogB.Information(" fs R ");
}
}
ForceSensorDynamics fsd;
- if(currentForceSensorExercise.Elastic)
+
+ if(currentForceSensorExercise.ComputeAsElastic)
fsd = new ForceSensorDynamicsElastic(
times, forces, fsco, currentForceSensorExercise,
currentPersonSession.Weight, currentForceSensor.Stiffness,
preferences.forceSensorElasticEccMinDispl,
preferences.forceSensorElasticConMinDispl);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]