Skip to content

Commit

Permalink
Merge pull request #18 from hammerlab/update-psis
Browse files Browse the repository at this point in the history
Fix build error by ignoring false positive pylint error
  • Loading branch information
jburos committed Dec 21, 2017
2 parents 6aeca18 + f566be9 commit 6c36abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stanity/psis.py
Expand Up @@ -309,7 +309,7 @@ def gpdfitnew(x, sort=True, sort_in_place=False, return_quadrature=False):
b = np.sum(bs * w)
# Estimate for k, note that we return a negative of Zhang and
# Stephens's k, because it is more common parameterisation.
temp = (-b) * x
temp = (-b) * x # pylint: disable=invalid-unary-operand-type
np.log1p(temp, out=temp)
k = np.mean(temp)
if return_quadrature:
Expand Down

0 comments on commit 6c36abc

Please sign in to comment.