RegscorePy icon indicating copy to clipboard operation
RegscorePy copied to clipboard

Add int64 as accepted data type

Open e-dervieux opened this issue 10 months ago • 0 comments

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.

e-dervieux avatar Feb 13 '25 11:02 e-dervieux