Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 20, 2023
1 parent 8f286ba commit d3142fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyhf/optimize/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d3142fc

Please sign in to comment.