Skip to content

Commit

Permalink
Formatted Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
chunlaw authored and actions-user committed Jan 20, 2025
1 parent 23bc06d commit da1c2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawling/mergeStopList.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_stop_group(

def get_stops_haversine_distance(stop_a, stop_b):
if stop_a['location']['lat'] == stop_b['location']['lat'] and stop_a['location']['lng'] == stop_b['location']['lng']:
return 0
return 0
return haversine(
(stop_a['location']['lat'], stop_a['location']['lng']),
(stop_b['location']['lat'], stop_b['location']['lng']),
Expand Down

0 comments on commit da1c2fc

Please sign in to comment.