Aerobic TISS fixup

.. for rides with samples other than 1s recording.
This commit is contained in:
Mark Liversedge
2014-03-17 21:54:30 +00:00
parent 89017fe2a5
commit b81eb146fd
2 changed files with 2 additions and 2 deletions

View File

@@ -1192,7 +1192,7 @@ RideFile::recalculateDerivedSeries()
if (CP && dataPresent.watts) {
// a * exp (b * exp (c * fraction of cp) )
aTISS += a * exp(b * exp(c * (double(p->watts) / double(CP))));
aTISS += recIntSecs_ * (a * exp(b * exp(c * (double(p->watts) / double(CP)))));
p->atiss = aTISS;
}