Skip to content

Commit

Permalink
(fix): IncompatibleIndexerAndShapeError usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Feb 25, 2025
1 parent d227e33 commit bc4b315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zarrs/src/array/array_bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ pub(crate) fn update_bytes_vlen<'a>(
update_bytes: &RawBytes,
update_offsets: &RawBytesOffsets,
update_subset: &ArraySubset,
) -> Result<ArrayBytes<'a>, IncompatibleArraySubsetAndShapeError> {
) -> Result<ArrayBytes<'a>, IncompatibleIndexerAndShapeError> {
if !update_subset.inbounds_shape(input_shape) {
return Err(IncompatibleArraySubsetAndShapeError::new(
return Err(IncompatibleIndexerAndShapeError::new(
update_subset.clone(),
input_shape.to_vec(),
));
Expand Down

0 comments on commit bc4b315

Please sign in to comment.