Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative: Fix calculate directly not scaling inner pars when applying to rdatas #1534

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading