Skip to content

Commit b69fd7f

Browse files
fonnesbeckbrandonwillard
authored andcommitted
Removed redundant bound in Wald distribution
1 parent 59452b3 commit b69fd7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymc3/distributions/continuous.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,8 +1054,6 @@ def logp(self, value):
10541054
logpow(lam / (2.0 * np.pi), 0.5)
10551055
- logpow(centered_value, 1.5)
10561056
- (0.5 * lam / centered_value * ((centered_value - mu) / mu) ** 2),
1057-
# XXX these two are redundant. Please, check.
1058-
value > 0,
10591057
centered_value > 0,
10601058
mu > 0,
10611059
lam > 0,

0 commit comments

Comments
 (0)