mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix count in Athlete_Weight metric
It has to be 1 so each activity has equal weight when averaging, instead of being weighted by duration. [publish binaries]
This commit is contained in:
@@ -623,6 +623,7 @@ class AthleteWeight : public RideMetric {
|
||||
if (weight <= 0.00) weight = 80.00;
|
||||
|
||||
setValue(weight);
|
||||
setCount(1);
|
||||
}
|
||||
|
||||
MetricClass classification() const { return Undefined; }
|
||||
|
||||
Reference in New Issue
Block a user