Skip to content

Commit

Permalink
first example
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasheinrich committed Nov 19, 2020
1 parent 8fc8382 commit d85503b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pyhf/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,10 @@ def __init__(self, spec, custom_modifiers = None, batch_size=None, **config_kwar
mega_mods, _nominal_rates = _nominal_and_modifiers_from_spec(
self.config, self.spec
)

for custom in custom_modifiers:
custom.config = self.config

self.main_model = _MainModel(
self.config,
mega_mods=mega_mods,
Expand Down

0 comments on commit d85503b

Please sign in to comment.