Skip to content

Commit 9439ecc

Browse files
Ariana BarzinpourKirill888
authored andcommitted
use _crs for hash instead of _str
1 parent ade0406 commit 9439ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odc/geo/crs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def __str__(self) -> str:
242242
return self._str
243243

244244
def __hash__(self) -> int:
245-
return hash(self._str)
245+
return hash(self._crs)
246246

247247
def __repr__(self) -> str:
248248
return f"CRS('{self._str}')"

0 commit comments

Comments
 (0)