aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Simon <esimon@esimon.eu>2015-04-24 16:42:33 -0400
committerÉtienne Simon <esimon@esimon.eu>2015-04-24 16:42:33 -0400
commitd03fb73c8f95c9ec2f4dec25062e13223a709183 (patch)
tree7e602b60058e613938666f892f0d9b0ddb05c2e6
parentb1da6fb4e644dcdec6d90c3f0ae018001a98a4b6 (diff)
downloadtaxi-d03fb73c8f95c9ec2f4dec25062e13223a709183.tar.gz
taxi-d03fb73c8f95c9ec2f4dec25062e13223a709183.zip
Fix typo in transformers
-rw-r--r--transformers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/transformers.py b/transformers.py
index 2a49a11..92ee439 100644
--- a/transformers.py
+++ b/transformers.py
@@ -17,7 +17,7 @@ def add_extremities(stream, k):
def extremities(x):
return (x[id_polyline][:k], x[id_polyline][-k:])
stream = Filter(stream, lambda x: len(x[id_polyline])>=k)
- stream = Mapping(stream, extremeties, ('first_k', 'last_k'))
+ stream = Mapping(stream, extremities, ('first_k', 'last_k'))
return stream
def add_destination(stream):