Skip to content

Commit

Permalink
Fixed #22 with the proposed correction
Browse files Browse the repository at this point in the history
  • Loading branch information
siebenkopf committed Jun 7, 2016
1 parent d84630f commit 537f20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bob/bio/base/tools/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _scores(algorithm, model, probes, allow_missing_files):
# the file selector object
fs = FileSelector.instance()
# the scores to be computed; initialized with NaN
scores = numpy.full((1,len(probes)), numpy.nan, numpy.float64)
scores = numpy.ones((1,len(probes)), numpy.float64) * numpy.nan

if allow_missing_files and model is None:
# if we have no model, all scores are undefined
Expand Down

0 comments on commit 537f20b

Please sign in to comment.