Skip to content

Commit

Permalink
fix: Update outdated ChiError message
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon authored and YeungOnion committed Dec 3, 2024
1 parent e7a995e commit 11ddf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distribution/chi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl std::fmt::Display for ChiError {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
ChiError::FreedomInvalid => {
write!(f, "Degrees of freedom are NaN, zero or less than zero")
write!(f, "Degrees of freedom are zero")
}
}
}
Expand Down

0 comments on commit 11ddf5d

Please sign in to comment.