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 committed Nov 10, 2024
1 parent 252d3d7 commit cc67481
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 cc67481

Please sign in to comment.