update
This commit is contained in:
12
.CondaPkg/env/Lib/site-packages/scipy/special/tests/test_gamma.py
vendored
Normal file
12
.CondaPkg/env/Lib/site-packages/scipy/special/tests/test_gamma.py
vendored
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)
|
||||
Reference in New Issue
Block a user