From 051fb42f296d21c1fc98154cdff91ebf9d35a3ca Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Sun, 23 Mar 2014 16:09:27 +0000 Subject: [PATCH] Updated Gompertz for an-TISS --- src/BikeScore.cpp | 3 ++- src/DBAccess.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/BikeScore.cpp b/src/BikeScore.cpp index ecd8a567a..32b68ac24 100644 --- a/src/BikeScore.cpp +++ b/src/BikeScore.cpp @@ -295,7 +295,8 @@ class anTISS : public RideMetric { // anTISS - Aerobic Training Impact Scoring System static const double a = 0.238923886004611f; - static const double b = -12.2066385296127f; + //static const double b = -12.2066385296127f; + static const double b = -61.849f; static const double c = -1.73549567522521f; double anTISS = 0.0f; diff --git a/src/DBAccess.cpp b/src/DBAccess.cpp index b6065f873..f049c23f7 100644 --- a/src/DBAccess.cpp +++ b/src/DBAccess.cpp @@ -87,8 +87,9 @@ // 66 18 Mar 2014 Mark Liversedge Updated aPower calculation // 67 22 Mar 2014 Mark Liversedge Added Anaerobic TISS prototype // 68 22 Mar 2014 Mark Liversedge Added dTISS prototype +// 69 23 Mar 2014 Mark Liversedge Updated Gompertz constansts for An-TISS sigmoid -int DBSchemaVersion = 68; +int DBSchemaVersion = 69; DBAccess::DBAccess(Context* context) : context(context), db(NULL) {