diff --git a/mkl_random/tests/test_random.py b/mkl_random/tests/test_random.py index 1236fff..abb311a 100644 --- a/mkl_random/tests/test_random.py +++ b/mkl_random/tests/test_random.py @@ -95,7 +95,7 @@ def test_non_deterministic_brng(): def test_binomial_n_zero(): - zeros = np.zeros(2, dtype='int') + zeros = np.zeros(2, dtype='int32') for p in [0, .5, 1]: assert rnd.binomial(0, p) == 0 actual = rnd.binomial(zeros, p)