Skip to content

Commit

Permalink
Hierarchical: remove inner datas from relative calculator (#1505)
Browse files Browse the repository at this point in the history
* Remove inner rdatas from relative calculator

* Remove inner_rdatas from C.py
  • Loading branch information
Doresic authored Nov 12, 2024
1 parent 80a7b8d commit a236483
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pypesto/C.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class EnsembleType(Enum):
# HIERARCHICAL SCALING + OFFSET

INNER_PARAMETERS = "inner_parameters"
INNER_RDATAS = "inner_rdatas"
PARAMETER_TYPE = "parameterType"
RELATIVE = "relative"

Expand Down
3 changes: 1 addition & 2 deletions pypesto/hierarchical/relative/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
GRAD,
HESS,
INNER_PARAMETERS,
INNER_RDATAS,
RDATAS,
RES,
SRES,
Expand Down Expand Up @@ -365,6 +364,6 @@ def calculate_directly(
rdatas=rdatas,
inner_parameters=inner_parameters,
)
inner_result[INNER_RDATAS] = rdatas
inner_result[RDATAS] = rdatas

return inner_result, inner_parameters

0 comments on commit a236483

Please sign in to comment.