Skip to content

Commit

Permalink
use _crs for hash instead of _str
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Dec 19, 2024
1 parent 62b7c5e commit d9a012f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odc/geo/crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def __str__(self) -> str:
return self._str

def __hash__(self) -> int:
return hash(self._str)
return hash(self._crs)

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

0 comments on commit d9a012f

Please sign in to comment.