Fixed database typo and removed unnecessary class identifier.
This commit is contained in:
parent
00ad49a143
commit
45fb349a7d
5098 changed files with 952558 additions and 85 deletions
12
venv/Lib/site-packages/scipy/special/tests/test_gamma.py
Normal file
12
venv/Lib/site-packages/scipy/special/tests/test_gamma.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
import numpy as np
|
||||
import scipy.special as sc
|
||||
|
||||
|
||||
class TestRgamma:
|
||||
|
||||
def test_gh_11315(self):
|
||||
assert sc.rgamma(-35) == 0
|
||||
|
||||
def test_rgamma_zeros(self):
|
||||
x = np.array([0, -10, -100, -1000, -10000])
|
||||
assert np.all(sc.rgamma(x) == 0)
|
Loading…
Add table
Add a link
Reference in a new issue