Skip to content

Commit 05e95dc

Browse files
katoshColCarroll
authored andcommitted
remove eps from numpy StickBreaking #3577 (#3617)
1 parent 4c771f6 commit 05e95dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def backward_val(self, y_):
485485
Km1 = y.shape[0]
486486
k = np.arange(Km1)[(slice(None),) + (None,) * (y.ndim - 1)]
487487
eq_share = nplogit(1.0 / (Km1 + 1 - k).astype(str(y_.dtype)))
488-
z = expit(y + eq_share, self.eps)
488+
z = expit(y + eq_share)
489489
yl = np.concatenate([z, np.ones(y[:1].shape)])
490490
yu = np.concatenate([np.ones(y[:1].shape), 1 - z])
491491
S = np.cumprod(yu, 0)

0 commit comments

Comments
 (0)