Skip to content

Commit e4a0543

Browse files
committed
Remove redundant ListView validity clone
Signed-off-by: Daniel King <dan@spiraldb.com>
1 parent e50a07e commit e4a0543

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • vortex-array/src/arrays/listview/compute

vortex-array/src/arrays/listview/compute/take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fn apply_take(array: ArrayView<'_, ListView>, indices: &ArrayRef) -> VortexResul
6262
});
6363
let new_sizes = match_each_integer_ptype!(nullable_new_sizes.dtype().as_ptype(), |S| {
6464
nullable_new_sizes
65-
.mask(validity_array.clone())?
65+
.mask(validity_array)?
6666
.fill_null(Scalar::primitive(S::zero(), Nullability::NonNullable))?
6767
});
6868

0 commit comments

Comments
 (0)