We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 299848f commit 22baf49Copy full SHA for 22baf49
numpyro/distributions/censored.py
@@ -81,7 +81,7 @@ def __init__(
81
base_dist: DistributionT,
82
censored: ArrayLike = False,
83
*,
84
- validate_args: Optional[bool] = None,
+ validate_args: bool = False,
85
):
86
# test if base_dist has an implemented cdf method
87
if not hasattr(base_dist, "cdf"):
@@ -197,7 +197,7 @@ def __init__(
197
198
199
200
201
202
203
@@ -335,7 +335,7 @@ def __init__(
335
left_censored: ArrayLike,
336
right_censored: ArrayLike,
337
338
339
340
# Optionally test that cdf actually works (in validate_args mode)
341
if validate_args:
0 commit comments