Skip to content

Commit 753627a

Browse files
committed
Removed elemwise hyp2f1_der and respective tests
1 parent 868cc15 commit 753627a

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

pytensor/tensor/math.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,11 +1389,6 @@ def hyp2f1(a, b, c, z):
13891389
"""Gaussian hypergeometric function."""
13901390

13911391

1392-
@scalar_elemwise
1393-
def hyp2f1_der(a, b, c, z):
1394-
"""Derivatives for Gaussian hypergeometric function."""
1395-
1396-
13971392
@scalar_elemwise
13981393
def j0(x):
13991394
"""Bessel function of the first kind of order 0."""
@@ -3143,7 +3138,6 @@ def matmul(x1: "ArrayLike", x2: "ArrayLike", dtype: Optional["DTypeLike"] = None
31433138
"logaddexp",
31443139
"logsumexp",
31453140
"hyp2f1",
3146-
"hyp2f1_der",
31473141
]
31483142

31493143
DEPRECATED_NAMES = [

tests/tensor/test_math_scipy.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -763,16 +763,6 @@ def test_deprecated_module():
763763
),
764764
)
765765

766-
_good_broadcast_pentanary_hyp2f1_der = dict(
767-
normal=(
768-
random_ranged(0, 1000, (2, 3)),
769-
random_ranged(0, 1000, (2, 3)),
770-
random_ranged(0, 1000, (2, 3)),
771-
random_ranged(0, 0.5, (2, 3)),
772-
integers_ranged(-1, 3, (2, 3)),
773-
),
774-
)
775-
776766
TestHyp2F1Broadcast = makeBroadcastTester(
777767
op=at.hyp2f1,
778768
expected=expected_hyp2f1,
@@ -790,13 +780,6 @@ def test_deprecated_module():
790780
inplace=True,
791781
)
792782

793-
TestHyp2F1DerBroadcast = makeBroadcastTester(
794-
op=at.hyp2f1_der,
795-
expected=expected_hyp2f1,
796-
good=_good_broadcast_pentanary_hyp2f1_der,
797-
eps=2e-10,
798-
)
799-
800783

801784
class TestBetaIncGrad:
802785
def test_stan_grad_partial(self):

0 commit comments

Comments
 (0)