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 b7daa3e commit 30d4a0aCopy full SHA for 30d4a0a
pymc3/distributions/discrete.py
@@ -703,7 +703,7 @@ def logp(self, value):
703
704
logp_val = tt.switch(value > 0,
705
tt.log(psi) + self.bin.logp(value),
706
- logsumexp(tt.log1p(-psi), tt.log(psi) + n * tt.log1p(-p)))
+ logaddexp(tt.log1p(-psi), tt.log(psi) + n * tt.log1p(-p)))
707
708
return bound(logp_val,
709
0 <= value, value <= n,
0 commit comments