Skip to content

Commit

Permalink
Numpy 2.0 requires explicit integer typing. See https://stackoverflow…
Browse files Browse the repository at this point in the history
  • Loading branch information
agalitsyna committed Jun 25, 2024
1 parent dc1fdd9 commit cca91ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cooltools/lib/_numutils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def fake_cis(
@cython.cdivision(True)
def _matvec_sparse_symmetric(
np.ndarray[np.double_t, ndim=1] y,
np.ndarray[np.int_t, ndim=1] bin1,
np.ndarray[np.int_t, ndim=1] bin2,
np.ndarray[np.int32_t, ndim=1] bin1,
np.ndarray[np.int32_t, ndim=1] bin2,
np.ndarray[np.double_t, ndim=1] values,
np.ndarray[np.double_t, ndim=1] x):
"""
Expand Down

0 comments on commit cca91ef

Please sign in to comment.