summaryrefslogtreecommitdiff
path: root/numpy/array_api/_statistical_functions.py
diff options
context:
space:
mode:
authorKevin Sheppard <bashtage@users.noreply.github.com>2021-12-02 14:26:11 +0000
committerGitHub <noreply@github.com>2021-12-02 08:26:11 -0600
commit0e10696f55576441fd820279d9ec10cd9f2a4c5d (patch)
treea11b2326c15508a00a9fdadf5106d23f1dc22ca2 /numpy/array_api/_statistical_functions.py
parent742f13f7ee6ff8ed56fc468c9ef57b3853141768 (diff)
downloadnumpy-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/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions