Skip to content

Commit bb312a8

Browse files
Update continuous.py
1 parent 524c100 commit bb312a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ def logp(value, b, kappa, mu):
16431643
)
16441644
def icdf(value, b, kappa, mu):
16451645
res = pt.switch(pt.le(b, 0),
1646-
lambda: raise ValueError("Scale Parameter b must be positive"),
1646+
lambda: ValueError("Scale Parameter b must be positive"),
16471647
pt.switch(
16481648
pt.le(value, 0.5),
16491649
lambda: mu - (b / kappa) * pt.log(2 * value),

0 commit comments

Comments
 (0)