Skip to content

Commit 464d7a0

Browse files
committed
chore: build fix
1 parent e5c2986 commit 464d7a0

File tree

1 file changed

+1
-1
lines changed
  • packages/ui-carto/platforms/android/java/com/akylas/carto/additions

1 file changed

+1
-1
lines changed

packages/ui-carto/platforms/android/java/com/akylas/carto/additions/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static public long isLocationOnPath(MapPos point, MapPosVector poly, boolean clo
299299
double latClosest = inverseMercator(yClosest);
300300
double havDist = havDistance(lat3, latClosest, x3 - xClosest);
301301
if (havDist < havTolerance) {
302-
if (lastHavDist = -1) {
302+
if (lastHavDist == -1) {
303303
lastHavDist = havDist;
304304
} else if (havDist < lastHavDist){
305305
lastHavDist = havDist;

0 commit comments

Comments
 (0)