Skip to content

Commit 188e501

Browse files
committed
Use default_buffer_prototype
1 parent 5df2f6f commit 188e501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/codecs/sharding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def _get_index_chunk_spec(self, chunks_per_shard: ChunkCoords) -> ArraySpec:
683683
config=ArrayConfig(
684684
order="C", write_empty_chunks=False
685685
), # Note: this is hard-coded for simplicity -- it is not surfaced into user code,
686-
prototype=numpy_buffer_prototype(),
686+
prototype=default_buffer_prototype(),
687687
)
688688

689689
def _get_chunk_spec(self, shard_spec: ArraySpec) -> ArraySpec:

0 commit comments

Comments
 (0)