Skip to content

Add int64 as accepted data type #57

@e-dervieux

Description

@e-dervieux

When using data coming from numpy int64 ndarrays, the bic function crashes because of this (in bic.py):

if not isinstance(i, (int, float)):

This could be changed to:

if not isinstance(i, (int, float, np.int64)):

instead. I also guess this applies to the other functions of this package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions