Skip to content

Commit

Permalink
Update src/rolch/distributions/gamma.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BerriJ authored Sep 10, 2024
1 parent f4dfc08 commit e38dc1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rolch/distributions/gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def dl2_dp2(self, y, theta, param=0):

if param == 1:
# SIGMA
# R Code (4/sigma^4)-(4/sigma^6)*trigamma((1/sigma^2))
# polygamma(1, x) == trigamma(x) in R
return (4 / sigma**4) - (4 / sigma**6) * spc.polygamma(1, (1 / sigma**2))

def dl2_dpp(self, y, theta, params=(0, 1)):
Expand Down

0 comments on commit e38dc1c

Please sign in to comment.