Skip to content

Commit 37fd0ed

Browse files
committed
Replace deprecation with FutureWarning
1 parent 68c6c92 commit 37fd0ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bayesflow/adapters/transforms/standardize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(
7575
"Dynamic standardization is deprecated and will be removed in later versions."
7676
"Instead, use the standardize argument of the approximator / workflow instance or provide "
7777
"fixed mean and std arguments. You may incur some redundant computations if you keep this transform.",
78-
DeprecationWarning,
78+
FutureWarning,
7979
)
8080

8181
self.mean = mean

bayesflow/approximators/model_comparison_approximator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ def predict(
383383
if logits is not None:
384384
logging.warning(
385385
"Using argument `logits` is deprecated and will be removed in future versions. "
386-
"Please, use `probs` instead."
386+
"Please, use `probs` instead.",
387+
FutureWarning,
387388
)
388389
probs = not logits
389390

0 commit comments

Comments
 (0)