mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user