Audit the random number generation source (rand) GSC-G404
Security
Minor
1 occurrence in this check
Use of weak random number generator (math/rand instead of crypto/rand)
 90func NegativeUniformDistributedFloat32VectorGenerator(n, dim int) (vecs [][]float32) {
 91	left, right := dim/2, dim-dim/2
 92	lvs := genF32Slice(n, left, func() float32 {
 93		return -rand.Float32() 94	})
 95	rvs := UniformDistributedFloat32VectorGenerator(n, right)
 96	vecs = make([][]float32, 0, n)