Skip to content

Commit

Permalink
less
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Jun 24, 2024
1 parent 093be5e commit ad07328
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions encodings/fastlanes/src/for/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,8 @@ impl FoRArray {

#[inline]
pub fn encoded(&self) -> Array {
let dtype = if self.reference().dtype().is_signed_int() {
&DType::Primitive(
PType::try_from(self.reference().dtype())
.unwrap()
.to_unsigned(),
self.reference().dtype().nullability(),
)
let dtype = if self.ptype().is_signed_int() {
&DType::Primitive(self.ptype().to_unsigned(), self.dtype().nullability())
} else {
self.dtype()
};
Expand Down

0 comments on commit ad07328

Please sign in to comment.