diff --git a/fermi b/fermi index 214f886..e73217f 100755 Binary files a/fermi and b/fermi differ diff --git a/fermi.go b/fermi.go index 66e2af8..90ca722 100644 --- a/fermi.go +++ b/fermi.go @@ -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 */ diff --git a/time-to-botec.fermi b/more/time-to-botec.fermi similarity index 100% rename from time-to-botec.fermi rename to more/time-to-botec.fermi diff --git a/sample/sample.go b/sample/sample.go index f1e5302..19b5725 100644 --- a/sample/sample.go +++ b/sample/sample.go @@ -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) }