don't include final decay in xPower

RaceDay doesn't do it, and RaceDay is the reference implementation
for xPower/BikeScore.
This commit is contained in:
Sean Rhea
2010-01-01 19:05:41 -05:00
parent f48246398b
commit 954214137f

View File

@@ -79,12 +79,6 @@ class XPower : public RideMetric {
total += pow(weighted, 4.0);
count++;
}
while (weighted > NEGLIGIBLE) {
weighted *= attenuation;
lastSecs += secsDelta;
total += pow(weighted, 4.0);
count++;
}
xpower = pow(total / count, 0.25);
secs = count * secsDelta;
}