Skip to content

Commit

Permalink
Undo changes to cube equality
Browse files Browse the repository at this point in the history
  • Loading branch information
bouweandela committed Jan 18, 2024
1 parent 9b7b943 commit 920120a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ This document explains the changes made to Iris for this release
lazy data from file. This will also speed up coordinate comparison.
(:pull:`5610`)

#. `@bouweandela`_ made comparing coordinates, cubes, and arrays to themselves
faster. (:pull:`5691`)
#. `@bouweandela`_ made comparing coordinates and arrays to themselves faster. (:pull:`5691`)


🔥 Deprecations
Expand Down
3 changes: 0 additions & 3 deletions lib/iris/cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -3826,9 +3826,6 @@ def _deepcopy(self, memo, data=None):

# START OPERATOR OVERLOADS
def __eq__(self, other):
if other is self:
return True

result = NotImplemented

if isinstance(other, Cube):
Expand Down

0 comments on commit 920120a

Please sign in to comment.