@@ -90,15 +90,13 @@ def test_2f1(self, pars):
90
90
f , s , * _ = hypergeo ._hyp2f1_taylor_series (* pars )
91
91
check = self ._2f1_validate (* pars )
92
92
assert s == mpmath .sign (check )
93
- print (f , mpmath .log (mpmath .fabs (check )))
94
93
assert np .isclose (f , float (mpmath .log (mpmath .fabs (check ))))
95
94
96
95
def test_2f1_grad (self , pars ):
97
96
_ , _ , * grad = hypergeo ._hyp2f1_taylor_series (* pars )
98
97
grad = grad [:- 1 ]
99
98
offset = self ._2f1_validate (* pars )
100
99
check = self ._2f1_grad_validate (* pars , offset = offset )
101
- print (grad , check )
102
100
assert np .allclose (grad , check )
103
101
104
102
@@ -142,7 +140,6 @@ def test_2f1(self, pars):
142
140
f , s , * _ = hypergeo ._hyp2f1_recurrence (* pars )
143
141
check = self ._2f1_validate (* pars )
144
142
assert s == mpmath .sign (check )
145
- print (f , mpmath .log (mpmath .fabs (check )))
146
143
assert np .isclose (f , float (mpmath .log (mpmath .fabs (check ))))
147
144
148
145
def test_2f1_grad (self , pars ):
@@ -152,7 +149,6 @@ def test_2f1_grad(self, pars):
152
149
offset = self ._2f1_validate (* pars )
153
150
check = self ._2f1_grad_validate (* pars , offset = offset )
154
151
check [1 ] = 0.0 # integer parameter has no gradient
155
- print (grad , check )
156
152
assert np .allclose (grad , check )
157
153
158
154
@@ -235,7 +231,6 @@ def test_2f1(self, muts, hyp2f1_func, pars):
235
231
f , s , * _ = hyp2f1_func (* pars )
236
232
assert s > 0
237
233
check = float (mpmath .log (self ._2f1_validate (* pars )))
238
- print (f , check )
239
234
assert np .isclose (f , check )
240
235
241
236
def test_2f1_grad (self , muts , hyp2f1_func , pars ):
@@ -244,5 +239,4 @@ def test_2f1_grad(self, muts, hyp2f1_func, pars):
244
239
assert s > 0
245
240
offset = self ._2f1_validate (* pars )
246
241
check = self ._2f1_grad_validate (* pars , offset = offset )
247
- print (grad , check )
248
242
assert np .allclose (grad , check )
0 commit comments