Skip to content

Commit

Permalink
Fix data type of expected array in test_binomial_n_zero
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Jul 30, 2024
1 parent 6eebea1 commit 1da3205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkl_random/tests/test_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1da3205

Please sign in to comment.