Skip to content

Commit 76c3b27

Browse files
committed
dev
1 parent ec2ad94 commit 76c3b27

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cf/data/dask_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,7 @@ def cf_healpix_bounds(
726726

727727
a = cfdm_to_memory(a)
728728

729-
scalar = not a.ndim
730-
if scalar:
729+
if not a.ndim:
731730
# Turn a 0-d array into a 1-d array, for convenience.
732731
a = np.atleast_1d(a)
733732

0 commit comments

Comments
 (0)