[TD-3980]

This commit is contained in:
yihaoDeng 2021-05-10 01:43:54 +08:00
parent 8155c9fb34
commit be224d3af0
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ end
function test_finalize(ans, key)
local ret = 0.0
if (ans[key] ~= nil)
if (ans[key] ~= nil and ans[key]["num"] == 30000)
then
ret = ans[key]["sum"]/ans[key]["num"]
ans[key]["sum"] = 0.0