Skip to content

Commit 3b380f8

Browse files
committed
Merge remote-tracking branch 'upstream/main' into dev
2 parents 61e0e88 + c52221d commit 3b380f8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bayesflow/approximators/continuous_approximator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,9 +578,9 @@ def summarize(self, data: Mapping[str, np.ndarray], **kwargs) -> np.ndarray:
578578
def summaries(self, data: Mapping[str, np.ndarray], **kwargs) -> np.ndarray:
579579
"""
580580
.. deprecated:: 2.0.4
581-
`summaries` will be removed in version 2.0.5, it was renamed to `summarize` which should be used instead.
581+
`summaries` will be removed in version 2.0.6, it was renamed to `summarize` which should be used instead.
582582
"""
583-
warnings.warn("`summaries` was renamed to `summarize` and will be removed in version 2.0.5.", FutureWarning)
583+
warnings.warn("`summaries` was renamed to `summarize` and will be removed in version 2.0.6.", FutureWarning)
584584
return self.summarize(data=data, **kwargs)
585585

586586
def log_prob(self, data: Mapping[str, np.ndarray], **kwargs) -> np.ndarray:

bayesflow/approximators/model_comparison_approximator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ def summarize(self, data: Mapping[str, np.ndarray], **kwargs) -> np.ndarray:
442442
def summaries(self, data: Mapping[str, np.ndarray], **kwargs) -> np.ndarray:
443443
"""
444444
.. deprecated:: 2.0.4
445-
`summaries` will be removed in version 2.0.5, it was renamed to `summarize` which should be used instead.
445+
`summaries` will be removed in version 2.0.6, it was renamed to `summarize` which should be used instead.
446446
"""
447-
warnings.warn("`summaries` was renamed to `summarize` and will be removed in version 2.0.5.", FutureWarning)
447+
warnings.warn("`summaries` was renamed to `summarize` and will be removed in version 2.0.6.", FutureWarning)
448448
return self.summarize(data=data, **kwargs)
449449

450450
def _compute_logits(self, classifier_conditions: Tensor) -> Tensor:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bayesflow"
7-
version = "2.0.4"
7+
version = "2.0.5"
88
authors = [{ name = "The BayesFlow Team" }]
99
classifiers = [
1010
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)