Skip to content

Commit

Permalink
Merge pull request #29 from fau-klue/v0.2.6
Browse files Browse the repository at this point in the history
force np.vectorize to return float
  • Loading branch information
ausgerechnet authored Oct 15, 2022
2 parents 9b63105 + 195d621 commit dd0e46b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion association_measures/measures.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def get_poisson_ci_boundary(alpha, O11, R1, O21, R2):
return boundary


BOUNDARY = np.vectorize(get_poisson_ci_boundary)
BOUNDARY = np.vectorize(get_poisson_ci_boundary, otypes=[float])


def conservative_log_ratio(df, disc=.5, alpha=.001, boundary='normal',
Expand Down
2 changes: 1 addition & 1 deletion association_measures/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Association measures are mathematical formulae that interpret cooccurrence frequency data.
"""

VERSION = (0, 2, 5)
VERSION = (0, 2, 6)
__version__ = '.'.join(map(str, VERSION))

0 comments on commit dd0e46b

Please sign in to comment.