Skip to content

Commit

Permalink
Replaced dtype='int' with dtype='int32'
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Jul 28, 2024
1 parent b8ed711 commit 7561aa6
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 7561aa6

Please sign in to comment.