Skip to content

Commit

Permalink
Merge pull request grpc#5256 from tamihiro/master
Browse files Browse the repository at this point in the history
Minor fix on example script
  • Loading branch information
jtattermusch authored Jun 17, 2016
2 parents 2a69bef + 2961e57 commit c2b55af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/route_guide/route_guide_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_distance(start, end):
coord_factor = 10000000.0
lat_1 = start.latitude / coord_factor
lat_2 = end.latitude / coord_factor
lon_1 = start.latitude / coord_factor
lon_1 = start.longitude / coord_factor
lon_2 = end.longitude / coord_factor
lat_rad_1 = math.radians(lat_1)
lat_rad_2 = math.radians(lat_2)
Expand Down

0 comments on commit c2b55af

Please sign in to comment.