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:
Ale Martinez
2020-11-03 13:27:52 -03:00
parent 3e846a3d20
commit 617ebc3d82

View File

@@ -623,6 +623,7 @@ class AthleteWeight : public RideMetric {
if (weight <= 0.00) weight = 80.00;
setValue(weight);
setCount(1);
}
MetricClass classification() const { return Undefined; }