Skip to content

Commit 5d8e8ca

Browse files
authored
Merge branch 'main' into support-FSMap
2 parents abc5fdf + 47003d7 commit 5d8e8ca

File tree

1 file changed

+1
-1
lines changed
  • src/zarr/core/metadata

1 file changed

+1
-1
lines changed

src/zarr/core/metadata/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def _default_fill_value(dtype: np.dtype[Any]) -> Any:
353353
return dtype.type("nat")
354354
elif dtype.kind == "V":
355355
if dtype.fields is not None:
356-
default = tuple([_default_fill_value(field[0]) for field in dtype.fields.values()])
356+
default = tuple(_default_fill_value(field[0]) for field in dtype.fields.values())
357357
return np.array([default], dtype=dtype)
358358
else:
359359
return np.zeros(1, dtype=dtype)

0 commit comments

Comments
 (0)