From c7c532b2195bfb5992d1b3bc776115d87e75ce4a Mon Sep 17 00:00:00 2001 From: Robbie McKinstry Date: Fri, 29 Nov 2024 18:42:49 -0500 Subject: [PATCH] Attempt to catch error where NaN is introduced. --- src/stats/chi.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stats/chi.rs b/src/stats/chi.rs index b867050..592c3a2 100644 --- a/src/stats/chi.rs +++ b/src/stats/chi.rs @@ -25,7 +25,8 @@ fn test_statistic>(table: &ContingencyTable