Skip to content

Commit cb6fbb3

Browse files
committed
Fix bug in is_discrete_axis call
1 parent 4a2bda3 commit cb6fbb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf/field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ def _binary_operation(self, other, method):
10021002
for axis in f.domain_axes(todict=True):
10031003
identity = None
10041004

1005-
if self.is_discrete_axis(axis):
1005+
if f.is_discrete_axis(axis):
10061006
# This is a discrete axis whose identity is
10071007
# inferred from all of its auxiliary coordinates
10081008
x = {}

0 commit comments

Comments
 (0)