Skip to content

Commit

Permalink
remove moment
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Aug 20, 2024
1 parent cc668b9 commit 311035f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions thejoker/distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def support_point(rv, size, a, b):
a, b = pt.broadcast_arrays(a, b)
return 0.5 * (a + b)

# TODO: remove this once new pymc version is released
moment = support_point

def logp(value, a, b):
_fac = pt.log(b) - pt.log(a)
res = -pt.as_tensor_variable(value) - pt.log(_fac)
Expand Down

0 comments on commit 311035f

Please sign in to comment.