Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
d01849a2
Commit
d01849a2
authored
Jun 28, 2018
by
Theophile GENTILHOMME
Browse files
[utils] Fix bug: fta was always 0
parent
215786a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/utils.py
View file @
d01849a2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment