Skip to content

Commit d775396

Browse files
committed
coord ellipsis
1 parent 13b6c34 commit d775396

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/iris/coords.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,8 @@ def is_full_slice(s):
495495
# Bounds will generally have an extra dimension compared
496496
# to points, so add an Ellipsis at the end, unless there
497497
# is already on, as numpy does not support double Ellipsis.
498-
if keys[-1] == Ellipsis:
498+
if (not isinstance(keys[-1], np.ndarray)
499+
and keys[-1] == Ellipsis):
499500
bounds = bounds[keys]
500501
else:
501502
bounds = bounds[keys + (Ellipsis, )]

0 commit comments

Comments
 (0)