Skip to content

Commit 3c9797d

Browse files
committed
Rename local variable transformation_type
1 parent 1cd8ffb commit 3c9797d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bayesflow/approximators/point_approximator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def estimate(
6565
if "inference_variables" in self.standardize:
6666
for score_key, score in self.inference_network.scores.items():
6767
for head_key in estimates[score_key].keys():
68-
trafo_type = score.TRANSFORMATION_TYPE.get(head_key, "location_scale")
68+
transformation_type = score.TRANSFORMATION_TYPE.get(head_key, "location_scale")
6969
estimates[score_key][head_key] = self.standardize_layers["inference_variables"](
70-
estimates[score_key][head_key], forward=False, transformation_type=trafo_type
70+
estimates[score_key][head_key], forward=False, transformation_type=transformation_type
7171
)
7272

7373
estimates = self._apply_inverse_adapter_to_estimates(estimates, **kwargs)

0 commit comments

Comments
 (0)