Skip to content

Commit 2011026

Browse files
Drop check for np.long
1 parent 00dbad6 commit 2011026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_random/mklrand.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,7 @@ cdef class RandomState:
16871687
ret = randfunc(low, high - 1, size)
16881688

16891689
if size is None:
1690-
if dtype in (bool, int, np.long):
1690+
if dtype in (bool, int):
16911691
return dtype(ret)
16921692

16931693
return ret

0 commit comments

Comments
 (0)