histogram stat bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-01-18 11:38:27 +01:00
parent c46f918d06
commit d8d2b36d2e
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -148,8 +148,7 @@ function private.refactor(pmax, precision)
local new_step = ceil(pmax / precision)
if getn(private.current_record.values) == 0 then
private.current_record.step = new_step
if private.current_record.min == 0 then
return
end