From 6bf7758cd470a664db7ad3587717ace3fcefb4bb Mon Sep 17 00:00:00 2001 From: Doresic Date: Tue, 3 Dec 2024 16:31:19 +0100 Subject: [PATCH] Fix not scaling inner pars when applying to rdatas --- pypesto/hierarchical/relative/solver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pypesto/hierarchical/relative/solver.py b/pypesto/hierarchical/relative/solver.py index 930fdeba2..6ee1e2612 100644 --- a/pypesto/hierarchical/relative/solver.py +++ b/pypesto/hierarchical/relative/solver.py @@ -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):