Skip to content

Commit

Permalink
add needs_reinit to ignored parameters (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
hammannr authored Oct 15, 2024
1 parent bcfecc4 commit c20a399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alea/models/blueice_extended_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ def _get_parameters_to_ignore(self, source):
parameters_to_ignore: List[str] = [
p.name
for p in self.parameters
if (p.ptype in ["shape", "index"]) and (p.name not in source["parameters"])
if (p.ptype in ["shape", "index", "needs_reinit"])
and (p.name not in source["parameters"])
]
# no efficiency affects PDF:
parameters_to_ignore += [p.name for p in self.parameters if (p.ptype == "efficiency")]
Expand Down

0 comments on commit c20a399

Please sign in to comment.