diff options
author | Paulo Almeida <pcca24102002@gmail.com> | 2023-04-11 07:38:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 09:38:03 +0200 |
commit | fe893743b83173b72648dc79d86eda905230d1e9 (patch) | |
tree | 1667f85fe190d1158fc7583ea96eb404a5db100e /numpy/distutils/_shell_utils.py | |
parent | 34417a5d3470dc143ccd6935057b25b045306b49 (diff) | |
download | numpy-fe893743b83173b72648dc79d86eda905230d1e9.tar.gz |
BUG: accept zeros on numpy.random dirichlet function (#23440)
Changed alpha value error to pass a null value. This way, dirichlet function (on the generator, not mtrand) won't raise a value exception at 0. Also added test.
Diffstat (limited to 'numpy/distutils/_shell_utils.py')
0 files changed, 0 insertions, 0 deletions