You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for making this interesting tool.
I tried installing it with Cython, but was getting type errors compiling cluster.pyx.
Let me disclaim that I am a python novice, and may therefore be making some kind of obvious mistake.
Thank you for making this interesting tool.
I tried installing it with Cython, but was getting type errors compiling cluster.pyx.
Let me disclaim that I am a python novice, and may therefore be making some kind of obvious mistake.
The compilation problem was resolved by explicitly declaring the array type as
np.int64_t
as follows:Line 365:
cdef np.ndarray[np.int64_t, ndim=1] clusters = np.arange(clst.N_boxes, dtype=np.int64)
Line 430:
np.ndarray[np.int64_t, ndim = 1] cell_iter
LIne 539:
self.data = <np.ndarray[np.int64_t, ndim = 2]?> d
Environment
The text was updated successfully, but these errors were encountered: