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 8, 2024
1 parent 3964418 commit a935ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hepstats/splot/sweights.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def is_sum_of_extended_pdfs(model) -> bool:
return all(m.is_extended for m in model.get_models()) and model.is_extended


def compute_sweights(model, x: np.ndarray, *,atol_exceptions: float | None = None) -> dict[Any, np.ndarray]:
def compute_sweights(model, x: np.ndarray, *, atol_exceptions: float | None = None) -> dict[Any, np.ndarray]:
"""Computes sWeights from probability density functions for different components/species in a fit model
(for instance signal and background) fitted on some data `x`.
Expand Down

0 comments on commit a935ce0

Please sign in to comment.