diff --git a/wannier90-absorption/wannier_alpha.py b/wannier90-absorption/wannier_alpha.py index 7930b1b..51611c8 100755 --- a/wannier90-absorption/wannier_alpha.py +++ b/wannier90-absorption/wannier_alpha.py @@ -63,7 +63,7 @@ def calc_alpha(eps): k = np.imag(np.array(N)) alpha = 2 * w / c * k alpha = np.array(alpha) - alpha[np.where(alpha < 1E-10)] = 1E-10 + alpha[np.where(alpha < 1E-10)] = 1E-100 return alpha