Skip to content

compute_pvals passing invalid value to log_GP_pmf #25

Description

@ypinto31

When computing p-values, get an error saying an invalid value is being passed to sp.special.gammaln(x + 1) in the log_GP_pmf() function in the genpois module. Tried troubleshooting and found that rows from input file are being processed in a random order and the function fails at different rows each time. x, the variable that is being passed to the function is of type: numpy.int64.

RuntimeWarning: invalid value encountered in log

  • sp.special.gammaln(x + 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions