fix issue with avgElevation

This commit is contained in:
sonora 2014-06-09 12:03:14 +02:00
parent a14bf2f725
commit 8fb60bc7e0

View file

@ -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