diff options
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 |
commit | d03fb73c8f95c9ec2f4dec25062e13223a709183 (patch) | |
tree | 7e602b60058e613938666f892f0d9b0ddb05c2e6 | |
parent | b1da6fb4e644dcdec6d90c3f0ae018001a98a4b6 (diff) | |
download | taxi-d03fb73c8f95c9ec2f4dec25062e13223a709183.tar.gz taxi-d03fb73c8f95c9ec2f4dec25062e13223a709183.zip |
Fix typo in transformers
-rw-r--r-- | transformers.py | 2 |
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): |