diff --git a/cmd/lotus-bench/import.go b/cmd/lotus-bench/import.go index d0250a73c..a28878392 100644 --- a/cmd/lotus-bench/import.go +++ b/cmd/lotus-bench/import.go @@ -226,7 +226,7 @@ func compStats(vals []float64) (float64, float64) { varsum += delta * delta } - return av, float64(math.Sqrt(float64(varsum / float64(len(vals))))) + return av, math.Sqrt(varsum / float64(len(vals))) } type stats struct {