Skip to content

Commit

Permalink
Fix Label::is_outlier()
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Aug 24, 2023
1 parent 4c19e91 commit c1de8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats/univariate/outliers/tukey.rs
Original file line number Diff line number Diff line change
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 c1de8ca

Please sign in to comment.