Skip to content

Commit fad6b76

Browse files
kratsgmatthewfeickert
authored andcommitted
maybe this version
1 parent 63dcd4a commit fad6b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyhf/modifiers/staterror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def required_parset(sigmas, fixed: List[bool], constraint: Optional[str] = "gaus
2222
'inits': (1.0,) * n_parameters,
2323
'bounds': ((1e-10, 10.0),) * n_parameters,
2424
'fixed': tuple(fixed),
25-
'auxdata': (1.0,) * n_parameters,
25+
'auxdata': (1.0,) * n_parameters if constraint == "gaussian" else tuple(sigmas),
2626
'sigmas' if constraint == "gaussian" else 'factors': tuple(sigmas),
2727
}
2828

0 commit comments

Comments
 (0)