Skip to content

Commit f93da94

Browse files
authored
Fix
1 parent 964a076 commit f93da94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arrow-select/src/take.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ fn take_native<T: ArrowNativeType, I: ArrowPrimitiveType>(
424424
Some(v) => *v,
425425
// SAFETY: idx<indices.len()
426426
None => match unsafe { n.inner().value_unchecked(idx) } {
427-
true => T::default(),
428-
false => panic!("Out-of-bounds index {index:?}"),
427+
false => T::default(),
428+
true => panic!("Out-of-bounds index {index:?}"),
429429
},
430430
})
431431
.collect(),

0 commit comments

Comments
 (0)