Skip to content

Commit

Permalink
np.uint_t to uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-mariotti authored and brentp committed Jun 28, 2024
1 parent 6c78144 commit 5e63e96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cfisher.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ def pvalue_population(int k, int n, int K, int N):

@cython.boundscheck(False)
def pvalue_npy(
np.ndarray[np.uint_t] a_true,
np.ndarray[np.uint_t] a_false,
np.ndarray[np.uint_t] b_true,
np.ndarray[np.uint_t] b_false):
np.ndarray[np.uint32_t] a_true,
np.ndarray[np.uint32_t] a_false,
np.ndarray[np.uint32_t] b_true,
np.ndarray[np.uint32_t] b_false):

cdef int shape = a_true.shape[0],
cdef np.ndarray[np.double_t] lefts = np.zeros(shape, dtype=np.double)
Expand Down

0 comments on commit 5e63e96

Please sign in to comment.