Skip to content

Commit

Permalink
Use None as poi_name default
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 13, 2023
1 parent 6dc67f6 commit e59695e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyhf/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def __init__(
# build up our representation of the specification
# Default to no POI name
# https://github.com/scikit-hep/pyhf/issues/2327
poi_name = config_kwargs.pop("poi_name", "")
poi_name = config_kwargs.pop("poi_name", None)
self._config = _ModelConfig(self.spec, **config_kwargs)

modifiers, _nominal_rates = _nominal_and_modifiers_from_spec(
Expand Down

0 comments on commit e59695e

Please sign in to comment.