Skip to content

Commit 1da3205

Browse files
Fix data type of expected array in test_binomial_n_zero
1 parent 6eebea1 commit 1da3205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_random/tests/test_random.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_non_deterministic_brng():
9595

9696

9797
def test_binomial_n_zero():
98-
zeros = np.zeros(2, dtype='int')
98+
zeros = np.zeros(2, dtype='int32')
9999
for p in [0, .5, 1]:
100100
assert rnd.binomial(0, p) == 0
101101
actual = rnd.binomial(zeros, p)

0 commit comments

Comments
 (0)