Skip to content

Commit

Permalink
maybe this version
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Mar 31, 2022
1 parent 1f0b74c commit 0f1aa22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyhf/modifiers/staterror.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def required_parset(sigmas, fixed: List[bool], constraint: Optional[str] = "gaus
'inits': (1.0,) * n_parameters,
'bounds': ((1e-10, 10.0),) * n_parameters,
'fixed': tuple(fixed),
'auxdata': (1.0,) * n_parameters,
'auxdata': (1.0,) * n_parameters if constraint == "gaussian" else tuple(sigmas),
'sigmas' if constraint == "gaussian" else 'factors': tuple(sigmas),
}

Expand Down

0 comments on commit 0f1aa22

Please sign in to comment.