diff --git a/OsmAnd/src/net/osmand/plus/views/AsynchronousResampler.java b/OsmAnd/src/net/osmand/plus/views/AsynchronousResampler.java index 4fe45c7b50..d7066fa00b 100644 --- a/OsmAnd/src/net/osmand/plus/views/AsynchronousResampler.java +++ b/OsmAnd/src/net/osmand/plus/views/AsynchronousResampler.java @@ -209,17 +209,19 @@ public abstract class AsynchronousResampler extends AsyncTask dmax) { dmax = d; index = i; } } - if (dmax >= epsilon) { + if (dmax > epsilon) { cullRamerDouglasPeucer(survivor, start, index); cullRamerDouglasPeucer(survivor, index, end); } else {