From: Tom Clegg Date: Thu, 13 Oct 2022 13:57:37 +0000 (-0400) Subject: Fail if inadvertently using randomness. X-Git-Url: https://git.arvados.org/lightning.git/commitdiff_plain/5660ff5415e43398c55c2b88b6dc402d565f7a19?hp=0b719d39fe315fea0150485c2a0b4566fdd896bf Fail if inadvertently using randomness. No issue # Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- 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 (