From 2011026c3926b11e9c03a55e6cf5f8e68eb422df Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Sat, 25 May 2024 14:31:20 -0500 Subject: [PATCH] Drop check for np.long --- mkl_random/mklrand.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkl_random/mklrand.pyx b/mkl_random/mklrand.pyx index c69a302..5176579 100644 --- a/mkl_random/mklrand.pyx +++ b/mkl_random/mklrand.pyx @@ -1687,7 +1687,7 @@ cdef class RandomState: ret = randfunc(low, high - 1, size) if size is None: - if dtype in (bool, int, np.long): + if dtype in (bool, int): return dtype(ret) return ret