diff --git a/src/pyhf/optimize/mixins.py b/src/pyhf/optimize/mixins.py index 6f7adff518..ca51fec978 100644 --- a/src/pyhf/optimize/mixins.py +++ b/src/pyhf/optimize/mixins.py @@ -131,7 +131,7 @@ def _internal_postprocess( # we also need to edit the covariance matrix to zero-out uncertainties! # NOTE: minuit already does this (https://github.com/scikit-hep/iminuit/issues/762#issuecomment-1207436406) - if fixed_vals is not None and not using_minuit: + if fixed_vals is not None and not using_minuit: fixed_bools = [False] * len(init_pars) # Convert fixed_bools to a numpy array and reshape to make it a column vector fixed_mask = tensorlib.reshape(