Skip to content

Commit

Permalink
fix: clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed May 15, 2024
1 parent a34ca2c commit 779e1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-utils/src/cpuid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn detect_fast_bmi2() -> bool {
// Hardcoded blacklist of known-bad AMD families.
// We'll assume any future releases that support BMI2 have a
// proper implementation.
!(family_id >= 0x15 && family_id <= 0x18)
!(0x15..=0x18).contains(&family_id)
} else {
true
}
Expand Down

0 comments on commit 779e1b8

Please sign in to comment.