Skip to content

Commit 22baf49

Browse files
committed
validate to false
1 parent 299848f commit 22baf49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numpyro/distributions/censored.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(
8181
base_dist: DistributionT,
8282
censored: ArrayLike = False,
8383
*,
84-
validate_args: Optional[bool] = None,
84+
validate_args: bool = False,
8585
):
8686
# test if base_dist has an implemented cdf method
8787
if not hasattr(base_dist, "cdf"):
@@ -197,7 +197,7 @@ def __init__(
197197
base_dist: DistributionT,
198198
censored: ArrayLike = False,
199199
*,
200-
validate_args: Optional[bool] = None,
200+
validate_args: bool = False,
201201
):
202202
# test if base_dist has an implemented cdf method
203203
if not hasattr(base_dist, "cdf"):
@@ -335,7 +335,7 @@ def __init__(
335335
left_censored: ArrayLike,
336336
right_censored: ArrayLike,
337337
*,
338-
validate_args: Optional[bool] = None,
338+
validate_args: bool = False,
339339
):
340340
# Optionally test that cdf actually works (in validate_args mode)
341341
if validate_args:

0 commit comments

Comments
 (0)