Skip to content

Commit

Permalink
fix: black issue with pn_analytical
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgrjn committed Feb 29, 2024
1 parent 78e3fa0 commit 9ca4582
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion femwell/pn_analytical.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9ca4582

Please sign in to comment.