Skip to content

Commit b505f47

Browse files
committed
corrected references from core_data().shape to shape
1 parent 449b121 commit b505f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iris/cube.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4048,7 +4048,7 @@ def __eq__(self, other):
40484048
dataless_equality = self.is_dataless() or other.is_dataless()
40494049
if dataless_equality:
40504050
result = (self.is_dataless() and other.is_dataless()) and (
4051-
self.core_data().shape == self.core_data().shape
4051+
self.shape == self.shape
40524052
)
40534053

40544054
# having checked the metadata, now check the coordinates

0 commit comments

Comments
 (0)