remisalmon / gpx-interpolate

Python function to interpolate GPX data using piecewise cubic Hermite splines
MIT License
49 stars 12 forks source link

Bug in elevation rounding #1

Closed dunkean closed 5 years ago

dunkean commented 5 years ago

line 77 ele_new = np.round(ele_new*1e1)/1e1

instead of

ele_new = np.round(lon_new*1e3)/1e3

remisalmon commented 5 years ago

Indeed... Thanks for the report!