Commit d01849a2 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

[utils] Fix bug: fta was always 0

parent 215786a4
......@@ -46,7 +46,7 @@ def get_fta(scores):
NaN(s)
:py:class:`float` : failure to acquire rate
"""
fta_sum, fta_total = 0, 0
fta_sum, fta_total = 0.0, 0.0
neg, sum_nans, total = remove_nan(scores[0])
fta_sum += sum_nans
fta_total += total
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment