From 11ddf5d6c04761aea190cec007633c9a0d4694d2 Mon Sep 17 00:00:00 2001 From: FreezyLemon Date: Sun, 10 Nov 2024 15:36:29 +0100 Subject: [PATCH] fix: Update outdated ChiError message --- src/distribution/chi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distribution/chi.rs b/src/distribution/chi.rs index 9c14fefb..bd297b3d 100644 --- a/src/distribution/chi.rs +++ b/src/distribution/chi.rs @@ -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") } } }