Skip to content

Commit

Permalink
move
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Nov 1, 2024
1 parent 12f14cd commit 532cc0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vortex-serde/src/layouts/read/mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ impl RowMask {

let array = array.as_ref();

if true_count == array.len() as u64 {
return Ok(Some(array.clone()));
}

let sliced = if self.len() == array.len() {
array
} else {
&slice(array, self.begin, self.end)?
};

if true_count == sliced.len() as u64 {
return Ok(Some(sliced.clone()));
}

let bitset = self
.values
.to_bitset()
Expand Down

0 comments on commit 532cc0f

Please sign in to comment.