Skip to content

Commit

Permalink
be more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrommyd committed Mar 14, 2024
1 parent 0912897 commit 9040fa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zfit_physics/models/pdf_cmsshape.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def cmsshape_integral(limits: ztyping.SpaceType, params: dict, model) -> tf.Tens
beta = params["beta"]
gamma = params["gamma"]
m = params["m"]
lower_cdf = cmsshape_cdf_func(lower, beta, gamma, m)
upper_cdf = cmsshape_cdf_func(upper, beta, gamma, m)
lower_cdf = cmsshape_cdf_func(x=lower, beta=beta, gamma=gamma, m=m)
upper_cdf = cmsshape_cdf_func(x=upper, beta=beta, gamma=gamma, m=m)
return upper_cdf - lower_cdf


Expand All @@ -50,8 +50,8 @@ def __init__(
m: ztyping.ParamTypeInput,
obs: ztyping.ObsTypeInput,
*,
extended: ztyping.ExtendedInputType = None,
norm: ztyping.NormInputType = None,
extended: Optional[ztyping.ExtendedInputType] = None,
norm: Optional[ztyping.NormInputType] = None,
name: str = "CMSShape",
):
params = {"beta": beta, "gamma": gamma, "m": m}
Expand Down

0 comments on commit 9040fa4

Please sign in to comment.