Skip to content

Commit 28e5bfe

Browse files
committed
Make lower and upper optional argument in Censored
1 parent ede127c commit 28e5bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/censored.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Censored(Distribution):
112112
rv_op = CensoredRV.rv_op
113113

114114
@classmethod
115-
def dist(cls, dist, lower, upper, **kwargs):
115+
def dist(cls, dist, lower=-np.inf, upper=np.inf, **kwargs):
116116
if not isinstance(dist, TensorVariable) or not isinstance(
117117
dist.owner.op, RandomVariable | SymbolicRandomVariable
118118
):

0 commit comments

Comments
 (0)