From dc7de44096ffe155e69213eaa6555efc50f9babe Mon Sep 17 00:00:00 2001 From: iasonkrom Date: Mon, 1 Apr 2024 14:11:35 -0500 Subject: [PATCH] typo --- zfit_physics/models/pdf_novosibirsk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfit_physics/models/pdf_novosibirsk.py b/zfit_physics/models/pdf_novosibirsk.py index 1f97df3..e86e50c 100644 --- a/zfit_physics/models/pdf_novosibirsk.py +++ b/zfit_physics/models/pdf_novosibirsk.py @@ -40,7 +40,7 @@ def novosibirsk_pdf(x, peak, width, tail): exponent = (-0.5 / width_zero2 * log_arg**2) - (width_zero2 * 0.5) gauss_exponent = -0.5 * ((x - peak) / width) ** 2 - exponents = znp.where(cond1, gauss, znp.where(cond2, 0.0, exponent)) + exponents = znp.where(cond1, gauss_exponent, znp.where(cond2, 0.0, exponent)) return znp.exp(exponents)