continue reflecting about mixtures & stuff

This commit is contained in:
NunoSempere 2024-12-24 16:50:08 +01:00
parent 7d59beb4bf
commit 2314bf5db2
4 changed files with 2 additions and 3 deletions

BIN
fermi

Binary file not shown.

View File

@ -215,7 +215,6 @@ func prettyPrintStats(dist Dist) {
print_ci(0.90, "ci 90%: ")
print_ci(0.95, "ci 95%: ")
print_ci(0.99, "ci 99%: ")
}
/* Operations */

View File

@ -258,8 +258,8 @@ func Sample_parallel(f func64, n_samples int) []float64 {
go func(f func64) {
defer wg.Done()
var r = rand.New(rand.NewPCG(uint64(i), uint64(i+1)))
for i := range xs_i {
xs_i[i] = f(r)
for j := range xs_i {
xs_i[j] = f(r)
}
}(f)
}