diff options
| author | Kevin Sheppard <bashtage@users.noreply.github.com> | 2021-12-02 14:26:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-02 08:26:11 -0600 |
| commit | 0e10696f55576441fd820279d9ec10cd9f2a4c5d (patch) | |
| tree | a11b2326c15508a00a9fdadf5106d23f1dc22ca2 /numpy/array_api/_set_functions.py | |
| parent | 742f13f7ee6ff8ed56fc468c9ef57b3853141768 (diff) | |
| download | numpy-0e10696f55576441fd820279d9ec10cd9f2a4c5d.tar.gz | |
BUG: Protect divide by 0 in multinomial (#20490)
Guard against empty pvals
closes #20483
* MAINT: Correct exception type
Raise TypeError for enhanced backward compat when pvals
is scalar
Diffstat (limited to 'numpy/array_api/_set_functions.py')
0 files changed, 0 insertions, 0 deletions
