From 5660ff5415e43398c55c2b88b6dc402d565f7a19 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Thu, 13 Oct 2022 09:57:37 -0400 Subject: [PATCH] Fail if inadvertently using randomness. No issue # Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- chisquare.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chisquare.go b/chisquare.go index 65d11e6f06..842d0bb13f 100644 --- a/chisquare.go +++ b/chisquare.go @@ -5,11 +5,10 @@ package lightning import ( - "golang.org/x/exp/rand" "gonum.org/v1/gonum/stat/distuv" ) -var chisquared = distuv.ChiSquared{K: 1, Src: rand.NewSource(rand.Uint64())} +var chisquared = distuv.ChiSquared{K: 1} func pvalue(x, y []bool) float64 { var ( -- 2.30.2