projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b719d3
)
Fail if inadvertently using randomness.
author
Tom Clegg <tom@curii.com>
Thu, 13 Oct 2022 13:57:37 +0000
(09:57 -0400)
committer
Tom Clegg <tom@curii.com>
Thu, 13 Oct 2022 13:57:37 +0000
(09:57 -0400)
No issue #
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
chisquare.go
patch
|
blob
|
history
diff --git
a/chisquare.go
b/chisquare.go
index 65d11e6f06b6ff3f382bea665ff45d09e58872b5..842d0bb13f9fe1b67a30ef629c33892954dfbbc5 100644
(file)
--- 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 (