Fix accidental total doubling

This commit is contained in:
Aaron Suen 2024-09-22 10:22:38 -04:00
parent 2f6901c881
commit 97e34c522e

View File

@ -296,7 +296,6 @@ do
local histogram = newhistogram()
for i = 1, sampleqty do
local dtime = samples[i]
total = total + dtime
tsqr = tsqr + (dtime * dtime)
if dtime > max then max = dtime end
local bucket = math_floor(dtime / bucket_step) + 1