Skip to content

Commit

Permalink
updated haversine
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Eggimann committed Dec 6, 2018
1 parent 49899ea commit b78528d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion energy_demand/geography/weather_station_location.py
Expand Up @@ -26,7 +26,7 @@ def calc_distance_two_points(lat_from, long_from, lat_to, long_to):
distance_in_km = haversine(
(lat_from, long_from),
(lat_to, long_to),
miles=False)
unit='km')

return distance_in_km

Expand Down

0 comments on commit b78528d

Please sign in to comment.