Skip to content

Commit

Permalink
Fix Label::is_outlier() (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Dec 1, 2023
1 parent b5da56e commit b913e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats/univariate/outliers/tukey.rs
Expand Up @@ -239,7 +239,7 @@ impl Label {

/// Checks if the data point is labeled as an outlier
pub fn is_outlier(&self) -> bool {
matches!(*self, NotAnOutlier)
!matches!(*self, NotAnOutlier)
}

/// Checks if the data point is labeled as a "severe" outlier
Expand Down

0 comments on commit b913e23

Please sign in to comment.