Skip to content

Commit 53cbc1c

Browse files
committed
fix error with multi-d coords
1 parent 759fdac commit 53cbc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ess/powder/masking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def apply_masks(
6363
else:
6464
coord = (
6565
sc.midpoints(out.coords[dim])
66-
if out.coords.is_edges(dim)
66+
if out.coords.is_edges(dim, dim)
6767
else out.coords[dim]
6868
)
6969
out.masks[dim] = mask(coord)

0 commit comments

Comments
 (0)