From d3098a2c24acb5bc9bbf0c4e07808d9fe751d41c Mon Sep 17 00:00:00 2001 From: Nathan Bharkhda Date: Thu, 29 Oct 2026 10:03:21 +0000 Subject: [PATCH] bug: fix lat long comparer --- src/Appy.Spatial.GeoJSON/LatLng.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appy.Spatial.GeoJSON/LatLng.cs b/src/Appy.Spatial.GeoJSON/LatLng.cs index 2aed527..2712c54 100644 --- a/src/Appy.Spatial.GeoJSON/LatLng.cs +++ b/src/Appy.Spatial.GeoJSON/LatLng.cs @@ -14,7 +14,7 @@ public class LatLngComparer : IEqualityComparer { public bool Equals(LatLng x, LatLng y) => x == null && y == null || - x != null && y != null && x.Latitude.Equals(y.Latitude) && x.Longitude.Equals(y.Latitude); + x != null && y != null && x.Latitude.Equals(y.Latitude) && x.Longitude.Equals(y.Longitude); public int GetHashCode(LatLng obj) => obj.Latitude.GetHashCode() +