From 9ca4582532e4cf1376668df5496f7b700e5685d5 Mon Sep 17 00:00:00 2001 From: lucasgrjn <18169686+lucasgrjn@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:22:16 -0800 Subject: [PATCH] fix: black issue with pn_analytical --- femwell/pn_analytical.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/femwell/pn_analytical.py b/femwell/pn_analytical.py index 79d8b8bb..4be4381f 100644 --- a/femwell/pn_analytical.py +++ b/femwell/pn_analytical.py @@ -33,7 +33,9 @@ def dn_carriers(wavelength: float, dN: float, dP: float) -> float: return -2.98 * 1e-22 * np.power(dN, 1.016) - 1.25 * 1e-18 * np.power(dP, 0.835) else: wavelength *= 1e-6 - return -3.64 * 1e-10 * wavelength**2 * dN - 3.51 * 1e-6 * wavelength**2 * np.power(dP, 0.8) + return -3.64 * 1e-10 * wavelength**2 * dN - 3.51 * 1e-6 * wavelength**2 * np.power( + dP, 0.8 + ) def dalpha_carriers(wavelength: float, dN: float, dP: float) -> float: