Skip to content

Commit

Permalink
Fix not scaling inner pars when applying to rdatas (#1534)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doresic authored Jan 8, 2025
1 parent 1121bcc commit e9a969e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pypesto/hierarchical/relative/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ def apply_inner_parameters_to_rdatas(
"""
sim = [rdata["y"] for rdata in rdatas]
sigma = [rdata["sigmay"] for rdata in rdatas]
inner_parameters = copy.deepcopy(inner_parameters)
inner_parameters = scale_back_value_dict(inner_parameters, problem)

# apply offsets, scalings and sigmas
for x in problem.get_xs_for_type(InnerParameterType.SCALING):
Expand Down

0 comments on commit e9a969e

Please sign in to comment.