Skip to content

Commit

Permalink
found the error
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Dec 20, 2024
1 parent abe981c commit 21c1502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-core/src/chunked_array/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl StatisticsFlags {
}

pub fn is_sorted_any(&self) -> bool {
self.contains(Self::IS_SORTED_ASC | Self::IS_SORTED_DSC)
self.contains(Self::IS_SORTED_ASC) | self.contains(Self::IS_SORTED_DSC)
}
pub fn is_sorted_ascending(&self) -> bool {
self.contains(Self::IS_SORTED_ASC)
Expand Down

0 comments on commit 21c1502

Please sign in to comment.