Skip to content

Commit e5ebaf4

Browse files
committed
fix
1 parent ceabab5 commit e5ebaf4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

encodings/runend/src/compute/nan_count.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

vortex-array/src/compute/nan_count.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ where
2727
/// This will update the stats set of this array (as a side effect).
2828
pub fn nan_count(array: &dyn Array) -> VortexResult<Option<usize>> {
2929
if array.is_empty() || array.valid_count()? == 0 {
30-
return Ok(None);
30+
return Ok(Some(0));
3131
}
3232

3333
let nan_count = array

0 commit comments

Comments
 (0)