Skip to content

Commit

Permalink
Fix a bug in the airline route distance example, found by a student. …
Browse files Browse the repository at this point in the history
…The system works!
  • Loading branch information
projectgus committed Mar 29, 2014
1 parent d269bf8 commit 3ffd42d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ When looking at the list of fields in the OpenFlights data documentation, rememb
if source_airport in latitudes and dest_airport in latitudes:
source_lat = latitudes[source_airport]
source_long = longitudes[source_airport]
dest_lat = latitudes[source_airport]
dest_lat = latitudes[dest_airport]
dest_long = longitudes[dest_airport]
distances.append(geo_distance.distance(source_lat,source_long,dest_lat,dest_long))

Expand Down
Binary file modified images/histogram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3ffd42d

Please sign in to comment.