We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63dcd4a commit fad6b76Copy full SHA for fad6b76
src/pyhf/modifiers/staterror.py
@@ -22,7 +22,7 @@ def required_parset(sigmas, fixed: List[bool], constraint: Optional[str] = "gaus
22
'inits': (1.0,) * n_parameters,
23
'bounds': ((1e-10, 10.0),) * n_parameters,
24
'fixed': tuple(fixed),
25
- 'auxdata': (1.0,) * n_parameters,
+ 'auxdata': (1.0,) * n_parameters if constraint == "gaussian" else tuple(sigmas),
26
'sigmas' if constraint == "gaussian" else 'factors': tuple(sigmas),
27
}
28
0 commit comments