fix issue with avgElevation
This commit is contained in:
parent
a14bf2f725
commit
8fb60bc7e0
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ public class GPXUtilities {
|
|||
|
||||
// 3. Time moving, if any
|
||||
if (elevationPoints > 0) {
|
||||
avgElevation = elevationPoints / totalElevation;
|
||||
avgElevation = totalElevation / elevationPoints;
|
||||
}
|
||||
|
||||
// 4. Elevation, eleUp, eleDown, if recorded
|
||||
|
|
Loading…
Reference in a new issue