Skip to content

Commit adcf5fe

Browse files
fix: resolve logger warnings (#1598)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent 86a05c0 commit adcf5fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbi/samplers/rejection/rejection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def accept_reject_sample(
244244
acceptance rates for each observation.
245245
"""
246246
if kwargs:
247-
logging.warn(
247+
logging.warning(
248248
f"You passed arguments to `rejection_sampling_parameters` that "
249249
f"are unused when you do not specify a `proposal` in the same "
250250
f"dictionary. The unused arguments are: {kwargs}"

0 commit comments

Comments
 (0)