We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654e7f3 commit 0122903Copy full SHA for 0122903
pytensor/scalar/math.py
@@ -1623,7 +1623,7 @@ class Poch(BinaryScalarOp):
1623
1624
@staticmethod
1625
def st_impl(z, m):
1626
- return scipy.special.poch(z, m)
+ return gamma(z+m) / gamma(z)
1627
1628
def impl(self, z, m):
1629
return Poch.st_impl(z, m)
@@ -1653,7 +1653,7 @@ class Factorial(UnaryScalarOp):
1653
1654
1655
def st_impl(n):
1656
- return scipy.special.factorial(n)
+ return gamma(n+1)
1657
1658
def impl(self, n):
1659
return Factorial.st_impl(n)
0 commit comments