summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index a4e58fd6..2e3ccb0e 100755
--- a/gpsprof
+++ b/gpsprof
@@ -228,7 +228,7 @@ class spaceplot(plotter):
self.centroid[:2], self.fixes[int(len(self.fixes) * 0.95)][:2])
cep99_meters = gps.misc.EarthDistance(
self.centroid[:2], self.fixes[int(len(self.fixes) * 0.99)][:2])
- alt_sum = 0
+ alt_sum = 0.0
alt_num = 0
alt_fixes = []
lon_max = -9999