We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee68b3 commit c94c4efCopy full SHA for c94c4ef
1 file changed
vortex-array/src/arrays/piecewise_sequence/mod.rs
@@ -76,7 +76,7 @@ pub(crate) fn maybe_contiguous_slices(
76
array: ArrayView<'_, PiecewiseSequence>,
77
ctx: &mut ExecutionCtx,
78
) -> VortexResult<Option<(PrimitiveArray, ConstantOrArray)>> {
79
- if !is_constant_multiplier_one(array.multipliers()) {
+ if !is_constant_one(array.multipliers()) {
80
return Ok(None);
81
}
82
@@ -92,7 +92,7 @@ pub(crate) fn maybe_contiguous_slices(
92
Ok(Some((starts, ConstantOrArray::Array(lengths))))
93
94
95
-pub(crate) fn is_constant_multiplier_one(multipliers: &ArrayRef) -> bool {
+pub(crate) fn is_constant_one(multipliers: &ArrayRef) -> bool {
96
let Some(scalar) = multipliers.as_constant() else {
97
return false;
98
};
0 commit comments