Skip to content

Commit 1381155

Browse files
committed
change mu to mean in ZIP
1 parent 5848d86 commit 1381155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymc/distributions/discrete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,10 +1323,10 @@ def dist(cls, psi, theta, *args, **kwargs):
13231323
return super().dist([psi, theta], *args, **kwargs)
13241324

13251325
def get_moment(rv, size, psi, theta):
1326-
mu = at.floor(psi * theta)
1326+
mean = at.floor(psi * theta)
13271327
if not rv_size_is_none(size):
1328-
mu = at.full(size, mu)
1329-
return mu
1328+
mean = at.full(size, mean)
1329+
return mean
13301330

13311331
def logp(value, psi, theta):
13321332
r"""

0 commit comments

Comments
 (0)