5481c313634e67ed43d0f4ee2da6a272d703cee2,scipy/special/tests/test_basic.py,TestRiccati,test_riccati_jn,#TestRiccati#,3069
Before Change
class TestRiccati(object):
def test_riccati_jn(self):
with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
jnrl = (special.sph_jn(1,.2)[0]*.2,special.sph_jn(1,.2)[0]+special.sph_jn(1,.2)[1]*.2)
ricjn = special.riccati_jn(1,.2)
assert_array_almost_equal(ricjn,jnrl,8)
def test_riccati_yn(self):
After Change
class TestRiccati(object):
def test_riccati_jn(self):
N, x = 2, 0.2
S = np.empty((N, N))
for n in range(N):
j = special.spherical_jn(n, x)
jp = special.spherical_jn(n, x, derivative=True)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: scipy/scipy
Commit Name: 5481c313634e67ed43d0f4ee2da6a272d703cee2
Time: 2017-07-14
Author: person142@users.noreply.github.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestRiccati
Method Name: test_riccati_jn
Project Name: automl/auto-sklearn
Commit Name: 0056575ee679087e47b6c8eb06be2ad6a8ffd3ed
Time: 2017-05-02
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/pipeline/components/regression/gaussian_process.py
Class Name: GaussianProcess
Method Name: fit
Project Name: scipy/scipy
Commit Name: 5481c313634e67ed43d0f4ee2da6a272d703cee2
Time: 2017-07-14
Author: person142@users.noreply.github.com
File Name: scipy/special/tests/test_basic.py
Class Name: TestRiccati
Method Name: test_riccati_yn