Skip to content

Commit

Permalink
Fix for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed Mar 9, 2018
1 parent 1b8c243 commit 29e9f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sciunit/scores/complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def compute(cls, observation, prediction):
p_value = prediction # Use the prediction (assume it is numeric).
o_mean = observation['mean']
o_std = observation['std']
value = (p_value - o_mean)/o_std
value = float(p_value - o_mean)/o_std
value = utils.assert_dimensionless(value)
return ZScore(value)

Expand Down

0 comments on commit 29e9f4e

Please sign in to comment.