File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
vortex-array/src/arrays/patched Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ use crate::stats::ArrayStats;
2727use crate :: validity:: Validity ;
2828
2929/// An array that partially "patches" another array with new values.
30- ///
31- /// Patched arrays implement the set of nodes that do this instead here...I think?
3230#[ derive( Debug , Clone ) ]
3331pub struct PatchedArray {
3432 /// The inner array that is being patched. This is the zeroth child.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ impl OperationsVTable<Patched> for Patched {
2828 // be slower.
2929 for ( index, patch_index) in accessor. offsets_iter ( chunk, lane) {
3030 if patch_index == chunk_index {
31- return array. values . scalar_at ( index) ;
31+ return array. values . scalar_at ( index) ? . cast ( array . dtype ( ) ) ;
3232 }
3333 }
3434
You can’t perform that action at this time.
0 commit comments