diff --git a/server/lib/python/cartodb_services/cartodb_services/mapbox/isolines.py b/server/lib/python/cartodb_services/cartodb_services/mapbox/isolines.py index 9c1eb07..4d6563f 100644 --- a/server/lib/python/cartodb_services/cartodb_services/mapbox/isolines.py +++ b/server/lib/python/cartodb_services/cartodb_services/mapbox/isolines.py @@ -162,7 +162,7 @@ class MapboxIsolines(): # delete points that got None location_estimates_filtered = [] for i, c in enumerate(costs): - if c < isorange * (1 + tolerance): + if c != isorange and c < isorange * (1 + tolerance): location_estimates_filtered.append(destinations[i]) return location_estimates_filtered