From a935ce0c4510b14a9e0351c93bf3d0891e2d1998 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:05:57 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/hepstats/splot/sweights.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hepstats/splot/sweights.py b/src/hepstats/splot/sweights.py index 0a777ec3..32703299 100644 --- a/src/hepstats/splot/sweights.py +++ b/src/hepstats/splot/sweights.py @@ -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`.